Skip to content

Bump some dependencies #237

Bump some dependencies

Bump some dependencies #237

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Build for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
name: [linux, windows, macos]
include:
- name: linux
os: ubuntu-latest
- name: windows
os: windows-latest
bin_extension: .exe
- name: macos
os: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.72.1
- name: Rust Cache
uses: Swatinem/rust-cache@v2.7.0
- name: Install dependencies (Linux)
run: sudo apt-get -y install libgtk-3-dev libasound2-dev
if: matrix.name == 'linux'
- name: Build
run: cmake -E env CARGO_PROFILE_RELEASE_LTO=true cargo build --release --locked --bins
- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: bff-${{ matrix.name }}-${{ github.sha }}
path: |
./target/release/bff-cli${{ matrix.bin_extension }}
./target/release/bff-gui${{ matrix.bin_extension }}