name: Build abstract machine with nix on: push: branches: - master pull_request: branches: - master jobs: build-packages: runs-on: nix strategy: matrix: package: - "abstract-machine" - "nemu" - "nemu-lib" - "rv32Cross.abstract-machine" steps: - uses: https://github.com/cachix/cachix-action@v14 with: name: ysyx authToken: '${{ secrets.CACHIX_SIGNING_KEY }}' - uses: actions/checkout@v4 - name: Build package run: | nix build -L .#${{ matrix.package }}