Workflow Improvements #8
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: cargo build (release) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/[email protected] | |
- name: Install system dependencies | |
run: | | |
sudo apt install musl-tools --yes | |
rustup target add x86_64-unknown-linux-musl | |
- name: Compile a local package and all of its dependencies | |
run: | | |
cargo build --release --target=x86_64-unknown-linux-musl |