diff options
| author | 2026-02-23 17:18:10 +0800 | |
|---|---|---|
| committer | 2026-02-23 17:18:10 +0800 | |
| commit | 8facaa33ba1b590684671d66d55eeeeb868f119c (patch) | |
| tree | ea919235694d1151ec16e5542eca6e858b5bb30d /.github/workflows | |
| parent | 01b546cc816c4fb6b7389e5122b7802d7e724a2b (diff) | |
| parent | 83cab95205b2a42d8a1efffbe76b0f0b8fa26eab (diff) | |
| download | DropOut-8facaa33ba1b590684671d66d55eeeeb868f119c.tar.gz DropOut-8facaa33ba1b590684671d66d55eeeeb868f119c.zip | |
Merge branch 'main' into refactor/migrate-to-react
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/semifold-ci.yaml | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index 7938a9d..8aecd90 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -1,7 +1,7 @@ name: Semifold CI on: push: - branches: [main] + branches: [main, dev] env: CARGO_TERM_COLOR: always @@ -28,6 +28,8 @@ jobs: # name: "Linux x86_64 (Musl)" # target: "x86_64-unknown-linux-musl" # args: "--target x86_64-unknown-linux-musl" + # install-musl: true + # pkg-config-allow-cross: true - platform: "ubuntu-24.04-arm" name: "Linux arm64" target: "aarch64-unknown-linux-gnu" @@ -46,10 +48,11 @@ jobs: name: "Windows x86_64 (MSVC)" target: "x86_64-pc-windows-msvc" args: "--target x86_64-pc-windows-msvc --bundles nsis" - # - platform: "windows-latest" - # name: "Windows x86_64 (GNU)" - # target: "x86_64-pc-windows-gnu" - # args: "--target x86_64-pc-windows-gnu --bundles nsis" + - platform: "windows-latest" + name: "Windows x86_64 (GNU)" + target: "x86_64-pc-windows-gnu" + args: "--target x86_64-pc-windows-gnu --bundles nsis" + rustflags: "-C link-arg=-lws2_32" - platform: "windows-11-arm" name: "Windows arm64" target: "aarch64-pc-windows-msvc" @@ -65,6 +68,11 @@ jobs: sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libfuse2 + - name: Install Musl Tools (for musl target) + if: matrix.install-musl == true + run: | + sudo apt-get install -y musl-tools musl-dev + - name: Install pnpm uses: pnpm/action-setup@v4 @@ -104,6 +112,9 @@ jobs: uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RUSTFLAGS: ${{ matrix.rustflags || '' }} + CARGO_BUILD_TARGET: ${{ matrix.target }} + PKG_CONFIG_ALLOW_CROSS: ${{ matrix.pkg-config-allow-cross && '1' || '' }} with: args: ${{ matrix.args }} |