Add a macos check in ci #4
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: Test nix builds for macos | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
devshell: | |
name: build-dev-shell-macos | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
node: [18, 20] | |
os: [macos-latest] | |
steps: | |
- name: Disable smudging | |
run: echo "GIT_LFS_SKIP_SMUDGE=1" >> $GITHUB_ENV | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: cachix/install-nix-action@v18 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: build devshell | |
run: | | |
set -Eeu | |
./pin.sh | |
nix build o1js\#devShells.aarch64-darwin.default |