From 2135653567dce827e4af25584eb8581595df11dc Mon Sep 17 00:00:00 2001 From: widberg Date: Tue, 24 Oct 2023 16:38:15 -0400 Subject: [PATCH] Build all bins at once in CI --- .github/workflows/build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15da09a..5a2f854 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,6 @@ jobs: strategy: matrix: name: [linux, windows, macos] - bin: [bff-cli, bff-gui] include: - name: linux @@ -33,13 +32,15 @@ jobs: - name: Install dependencies (Linux) run: sudo apt-get -y install libgtk-3-dev libasound2-dev - if: matrix.name == 'linux' && matrix.bin == 'bff-gui' + if: matrix.name == 'linux' - name: Build - run: cargo build --release --locked --bin ${{ matrix.bin }} + run: cargo build --release --locked --bins - name: Archive Artifacts uses: actions/upload-artifact@v3 with: - name: ${{ matrix.bin }}-${{ matrix.name }}-${{ github.sha }} - path: ./target/release/${{ matrix.bin }}${{ matrix.bin_extension }} + name: bff-${{ matrix.name }}-${{ github.sha }} + path: | + ./target/release/bff-cli${{ matrix.bin_extension }} + ./target/release/bff-gui${{ matrix.bin_extension }}