diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9f2dca3..ae47c5c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -141,14 +141,17 @@ jobs: - platform: windows-latest target: x86_64-pc-windows-msvc name: windows-x86_64 + build: build features: default - platform: macos-latest target: x86_64-apple-darwin name: macos-x86_64 + build: build features: default - platform: macos-latest target: aarch64-apple-darwin name: macos-arm64 + build: build features: default fail-fast: false runs-on: ${{ matrix.platform }} @@ -162,14 +165,9 @@ jobs: uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.target }} -# - name: Setup sccache -# uses: mozilla-actions/sccache-action@v0.0.4 - name: Cargo build -# env: -# RUSTC_WRAPPER: sccache -# SCCACHE_GHA_ENABLED: "true" run: > - cargo build --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }} + cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }} --bin objdiff-cli --features ${{ matrix.features }} - name: Upload artifacts uses: actions/upload-artifact@v4