Skip to content

Add support for most common developer environments #931

Add support for most common developer environments

Add support for most common developer environments #931

Workflow file for this run

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