(On shedule) Nix dev env, macOS #621
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: "(On shedule) Nix dev env, macOS" | |
# Due to macOS is a side-build to test the platform, using nixos-unstable for additional long-term stability of it | |
on: | |
schedule: | |
# Every Friday 22:45 | |
- cron: "45 22 * * 5" | |
env: | |
rev: "c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad" | |
cachixAccount: "hnix" | |
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }} | |
doCheck: "false" | |
jobs: | |
build10: | |
name: "Default GHC" | |
runs-on: macos-latest | |
continue-on-error: true | |
steps: | |
- name: "Git checkout" | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: "Install Nix" | |
uses: cachix/install-nix-action@v25 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: "Install Cachix" | |
uses: cachix/cachix-action@v14 | |
with: | |
name: ${{ env.cachixAccount }} | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- name: "Determined Nix-build" | |
run: ./build.sh |