chore(just): provide des for running release #16
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: Nix build test | |
# on: | |
# pull_request: | |
# push: | |
# branches: | |
# - main | |
env: | |
CARGO_TERM_COLOR: always | |
# ensure that the workflow is only triggered once per PR, subsequent pushes to the PR will cancel | |
# and restart the workflow. See https://docs.github.com/en/actions/using-jobs/using-concurrency | |
# concurrency: | |
# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
# cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
arch: | |
- x86_64 | |
- aarch64 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Nix package manager | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Build | |
run: | | |
nix build |