v1.1.3
Co-Authored-By: Quentin Torroba <quentin.torroba@mistral.ai> Co-Authored-By: Michel Thomazo <michel.thomazo@mistral.ai> Co-Authored-By: Vincent Guilloux <vincent.guilloux@mistral.ai>
This commit is contained in:
parent
a340a721ea
commit
661588de0c
48 changed files with 1679 additions and 467 deletions
65
.github/workflows/build-and-upload.yml
vendored
65
.github/workflows/build-and-upload.yml
vendored
|
|
@ -8,37 +8,48 @@ on:
|
|||
branches: [main]
|
||||
|
||||
jobs:
|
||||
configure:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
steps:
|
||||
- name: Set matrix
|
||||
id: set-matrix
|
||||
run: |
|
||||
if [[ "${{ github.repository }}" == "mistralai/mistral-vibe" ]]; then
|
||||
matrix='{
|
||||
"include": [
|
||||
{"runner": "ubuntu-22.04", "os": "linux", "arch": "x86_64"},
|
||||
{"runner": "ubuntu-22.04-arm", "os": "linux", "arch": "aarch64"},
|
||||
{"runner": "macos-15-intel", "os": "darwin", "arch": "x86_64"},
|
||||
{"runner": "macos-14", "os": "darwin", "arch": "aarch64"},
|
||||
{"runner": "windows-2022", "os": "windows", "arch": "x86_64"},
|
||||
{"runner": "windows-11-arm", "os": "windows", "arch": "aarch64"}
|
||||
]
|
||||
}'
|
||||
else # skip ARM Linux/Windows (runners not available on non public repos)
|
||||
matrix='{
|
||||
"include": [
|
||||
{"runner": "ubuntu-22.04", "os": "linux", "arch": "x86_64"},
|
||||
{"runner": "macos-15-intel", "os": "darwin", "arch": "x86_64"},
|
||||
{"runner": "macos-14", "os": "darwin", "arch": "aarch64"},
|
||||
{"runner": "windows-2022", "os": "windows", "arch": "x86_64"}
|
||||
]
|
||||
}'
|
||||
fi
|
||||
echo "matrix=$(echo $matrix | jq -c .)" >> $GITHUB_OUTPUT
|
||||
|
||||
build-and-upload:
|
||||
needs: configure
|
||||
name: ${{ matrix.os }}-${{ matrix.arch }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
# Linux
|
||||
- runner: ubuntu-22.04
|
||||
os: linux
|
||||
arch: x86_64
|
||||
# - runner: ubuntu-22.04-arm # ubuntu-22.04-arm, ubuntu-24.04-arm and windows-11-arm are not supported yet for private repositories
|
||||
# os: linux
|
||||
# arch: aarch64
|
||||
|
||||
# macOS
|
||||
- runner: macos-15-intel
|
||||
os: darwin
|
||||
arch: x86_64
|
||||
- runner: macos-14
|
||||
os: darwin
|
||||
arch: aarch64
|
||||
|
||||
# Windows
|
||||
- runner: windows-2022
|
||||
os: windows
|
||||
arch: x86_64
|
||||
# - runner: windows-11-arm # ubuntu-22.04-arm, ubuntu-24.04-arm and windows-11-arm are not supported yet for private repositories
|
||||
# os: windows
|
||||
# arch: aarch64
|
||||
matrix: ${{ fromJSON(needs.configure.outputs.matrix) }}
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
steps:
|
||||
- name: echo
|
||||
run: echo github.repository=${{ github.repository }}
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
||||
|
||||
|
|
@ -55,10 +66,10 @@ jobs:
|
|||
python-version: "3.12"
|
||||
|
||||
- name: Sync dependencies
|
||||
run: uv sync --all-extras
|
||||
run: uv sync --no-dev --group build
|
||||
|
||||
- name: Build with PyInstaller
|
||||
run: uv run pyinstaller vibe-acp.spec
|
||||
run: uv run --no-dev --group build pyinstaller vibe-acp.spec
|
||||
|
||||
- name: Get package version with uv (Unix)
|
||||
id: get_version_unix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue