dino: switch to prefix-python-modules #700
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 --arg cudaSupport true" | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- unfree | |
schedule: | |
- cron: '50 6 * * *' | |
workflow_dispatch: | |
jobs: | |
nix-build: | |
strategy: | |
fail-fast: false | |
matrix: | |
nurRepo: | |
- some-pkgs | |
os: [ ubuntu-latest, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v6 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- name: Consume the read-only free cachix | |
uses: cachix/cachix-action@v12 | |
with: | |
name: some-unfree | |
- name: Consume read-only cuda-maintainers cachix | |
uses: cachix/cachix-action@v12 | |
with: | |
name: cuda-maintainers | |
- name: Setup writeable unfree cachix | |
uses: cachix/cachix-action@v12 | |
with: | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN_UNFREE }}' | |
name: some-unfree | |
- name: Build nix packages | |
run: nix shell -f 'https://github.com/Mic92/nix-build-uncached/archive/refs/tags/v1.1.2.tar.gz' -c nix-build-uncached -build-flags -L ci.nix -A cacheOutputs --keep-going | |
- name: Trigger NUR update | |
# Don't replace <YOUR_REPO_NAME> here! | |
if: ${{ matrix.nurRepo != '<YOUR_REPO_NAME>' }} | |
run: curl -XPOST "https://nur-update.nix-community.org/update?repo=${{ matrix.nurRepo }}" |