Add support for most common developer environments #930
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
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
name: build | |
jobs: | |
analyze: | |
name: Code Analysis | |
uses: dusk-network/.github/.github/workflows/code-analysis.yml@main | |
with: | |
clippy_default: false | |
clippy_args: -- -D warnings | |
dusk_analyzer: | |
name: Dusk Analyzer | |
uses: dusk-network/.github/.github/workflows/dusk-analysis.yml@main | |
test: | |
name: Make test | |
strategy: | |
matrix: | |
target: [ | |
x86_64-unknown-linux-gnu, | |
x86_64-apple-darwin, | |
aarch64-apple-darwin, | |
] | |
include: | |
- target: x86_64-unknown-linux-gnu | |
os: ubuntu-latest | |
- target: x86_64-apple-darwin | |
os: macos-latest-large | |
- target: aarch64-apple-darwin | |
os: macos-latest-xlarge | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: rustup target add wasm32-unknown-unknown | |
- run: rustup component add rust-src | |
- run: sudo apt update && sudo apt install -y clang lld | |
if: ${{ contains(matrix.target, 'linux') }} | |
- run: brew install llvm | |
if: ${{ contains(matrix.target, 'apple') }} | |
- name: Run `make test` | |
run: make test |