Back to Zig 0.10.1 #176
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: Rust | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: hecrj/setup-rust-action@master | |
with: | |
rust-version: stable | |
- name: Check Cargo availability | |
run: cargo --version | |
- name: Check Rustup default toolchain | |
run: rustup default | grep stable | |
- name: Build without default features | |
run: | | |
env RUSTFLAGS="-C link-arg=-s" cargo check --no-default-features | |
- name: Build with default features | |
run: | | |
env RUSTFLAGS="-C link-arg=-s" cargo check |