diff options
| author | 2026-01-21 14:40:30 +0800 | |
|---|---|---|
| committer | 2026-01-21 14:40:30 +0800 | |
| commit | 2e99bc54df12873e8b4b9f49534171e30227e461 (patch) | |
| tree | fceb72ea33aeb5168965cb6f0ada4a974ea98fb0 | |
| parent | e87d097060e41b89d4c68285c103cf96b2dd9449 (diff) | |
| download | DropOut-2e99bc54df12873e8b4b9f49534171e30227e461.tar.gz DropOut-2e99bc54df12873e8b4b9f49534171e30227e461.zip | |
fix(ci): Restrict CI workflow to main branch and remove musl build configurations
| -rw-r--r-- | .github/workflows/semifold-ci.yaml | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index b820a78..7938a9d 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -1,7 +1,7 @@ name: Semifold CI on: push: - branches: [main, dev] + branches: [main] env: CARGO_TERM_COLOR: always @@ -24,11 +24,10 @@ jobs: name: "Linux x86_64 (GNU)" target: "x86_64-unknown-linux-gnu" args: "--target x86_64-unknown-linux-gnu" - - platform: "ubuntu-latest" - name: "Linux x86_64 (Musl)" - target: "x86_64-unknown-linux-musl" - args: "--target x86_64-unknown-linux-musl" - use-cross: true + # - platform: "ubuntu-latest" + # name: "Linux x86_64 (Musl)" + # target: "x86_64-unknown-linux-musl" + # args: "--target x86_64-unknown-linux-musl" - platform: "ubuntu-24.04-arm" name: "Linux arm64" target: "aarch64-unknown-linux-gnu" @@ -47,11 +46,10 @@ 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" - rustflags: "-C link-arg=-lws2_32" + # - 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-11-arm" name: "Windows arm64" target: "aarch64-pc-windows-msvc" @@ -85,10 +83,6 @@ jobs: with: targets: ${{ matrix.target }} - - name: Install cross (for musl builds) - if: matrix.use-cross == true - run: cargo install cross - - name: Rust Cache uses: swatinem/rust-cache@v2 with: @@ -110,11 +104,8 @@ jobs: uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RUSTFLAGS: ${{ matrix.rustflags || '' }} - CARGO_BUILD_TARGET: ${{ matrix.target }} with: args: ${{ matrix.args }} - command: ${{ matrix.use-cross && 'cross' || 'cargo' }} - name: Fix AppImage for Wayland (Linux) if: startsWith(matrix.platform, 'ubuntu') && !startsWith(matrix.platform, 'macos') && !startsWith(matrix.platform, 'windows') |