Skip to content

Commit

Permalink
Merge pull request #35 from widberg/egui
Browse files Browse the repository at this point in the history
GUI
  • Loading branch information
widberg authored Oct 24, 2023
2 parents 3fe3504 + 644650b commit 573e0a6
Show file tree
Hide file tree
Showing 22 changed files with 5,418 additions and 609 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,37 @@ jobs:
strategy:
matrix:
name: [linux, windows, macos]
bin: [bff-cli, bff-gui]

include:
- name: linux
os: ubuntu-latest
bff_cli_executable_name: bff-cli
- name: windows
os: windows-latest
bff_cli_executable_name: bff-cli.exe
bin_extension: .exe
- name: macos
os: macos-latest
bff_cli_executable_name: bff-cli

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v1

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Rust Cache
uses: Swatinem/[email protected]
- name: Rust Cache
uses: Swatinem/[email protected]

- name: Build
run: cargo build --release --locked
- name: Install dependencies (Linux)
run: sudo apt-get -y install libgtk-3-dev libasound2-dev
if: matrix.name == 'linux' && matrix.bin == 'bff-gui'

- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: bff-${{ matrix.name }}-${{ github.sha }}
path: ./target/release/${{ matrix.bff_cli_executable_name }}
- name: Build
run: cargo build --release --locked --bin ${{ matrix.bin }}

- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.bin }}-${{ matrix.name }}-${{ github.sha }}
path: ./target/release/${{ matrix.bin }}${{ matrix.bin_extension }}
Loading

0 comments on commit 573e0a6

Please sign in to comment.