Merge pull request #59 from ErrorNoInternet/dependabot/cargo/clap_com… #162
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| paths: | |
| - '**.nix' | |
| - '**.rs' | |
| - Cargo.* | |
| - flake.lock | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| overmask: | |
| name: overmask | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - system: aarch64-linux | |
| - system: x86_64-linux | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v6 | |
| - name: Install QEMU | |
| run: | | |
| sudo apt update -y | |
| sudo apt install -y qemu-user-static | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v22 | |
| with: | |
| extra-conf: | | |
| log-lines = 500 | |
| - name: Set up Cachix | |
| uses: cachix/cachix-action@v17 | |
| with: | |
| name: errornobinaries | |
| authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - name: Build for ${{ matrix.system }} | |
| run: nix build -L --system ${{ matrix.system }} |