Merge pull request #22 from JCBurnside/feature/arrays-and-tuples #64
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: | |
branches: [ "dev", "main" ] | |
pull_request: | |
branches: | |
- main | |
- dev | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install LLVM and Clang | |
uses: KyleMayes/[email protected] | |
with: | |
version: "13" | |
# - name: set-env | |
# uses: allenevans/[email protected] | |
# with: | |
# llvm sys 130 prefix: '${{ env.LLVM_PATH }}' | |
- name: rust-toolchain | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy, | |
- name: Build | |
env: | |
LLVM_SYS_130_PREFIX: ${{env.LLVM_PATH}} | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |