fixup 1f1dbb1f0c2583296736dca467138e205233b3cc #296
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build FMF CLI app | |
on: | |
push: | |
branches: ["**"] | |
pull_request: | |
branches: ["**"] | |
jobs: | |
fmf-cli-app-ubuntu-20-04: | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: fmf/fmf-cli | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: | | |
rustup toolchain install nightly --profile minimal --no-self-update | |
- name: Build FMF CLI app | |
run: | | |
cargo +nightly build --release --features backtrace | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: fmf-ubuntu | |
path: ${{ github.workspace }}/target/release/fmf | |
fmf-cli-app-windows: | |
runs-on: windows-latest | |
defaults: | |
run: | |
working-directory: fmf/fmf-cli | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: | | |
rustup toolchain install nightly --profile minimal --no-self-update | |
- name: Build FMF CLI app | |
run: | | |
cargo +nightly build --release --features backtrace | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: fmf-windows | |
path: ${{ github.workspace }}/target/release/fmf.exe | |
fmf-cli-app-macos: | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: fmf/fmf-cli | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: | | |
rustup toolchain install nightly --profile minimal --no-self-update | |
- name: Build FMF CLI app | |
run: | | |
cargo +nightly build --release --features backtrace | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: fmf-mac | |
path: ${{ github.workspace }}/target/release/fmf |