ci: use detsys' magic cache #21
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, pull_request] | |
| jobs: | |
| web: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Nix | |
| - uses: actions/checkout@v4 | |
| - uses: DeterminateSystems/nix-installer-action@main | |
| - uses: DeterminateSystems/magic-nix-cache-action@main | |
| - name: build | |
| run: | | |
| nix-build ./web/default.nix | |
| display: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Nix | |
| - uses: actions/checkout@v4 | |
| - uses: DeterminateSystems/nix-installer-action@main | |
| - uses: DeterminateSystems/magic-nix-cache-action@main | |
| - name: build glibc | |
| run: | | |
| nix-build ./display/nix/default.nix | |
| - name: build musl | |
| run: | | |
| nix-build ./display/nix/musl.nix |