Skip to content

Commit

Permalink
add in aarch64 darwin and tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
arichtman committed Jan 15, 2024
1 parent 9c415a7 commit 2f17f51
Showing 1 changed file with 14 additions and 24 deletions.
38 changes: 14 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Test nix environment
run: nix develop

check_linux:
runs-on: ubuntu-latest
strategy:
Expand All @@ -32,6 +33,7 @@ jobs:
- name: Test system builds
run: |
nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel
check_x86_64-darwin:
runs-on: macos-12
steps:
Expand All @@ -41,27 +43,15 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Test machine
# TODO: Work through making this
run: |
# nix-channel --add https://nixos.org/channels/nixpkgs-unstable
# nix-channel --update
nix build .#darwinConfigurations.macbookpro.system
# sudo rm -f /etc/zshenv
# sudo rm -f /etc/nix/nix.conf
# nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
# ./result/bin/darwin-installer
# source /etc/static/bashrc
# warning: ignoring untrusted substituter 'http://127.0.0.1:37515/?trusted=1&compression=zstd&parallel-compression=true', you are not a trusted user.
# Run `man nix.conf` for more information on the `substituters` configuration option.
# building the system configuration...
# darwin-rebuild check --flake .
# check_aarch64-darwin:
# runs-on: macos-13-large
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 1
# - uses: DeterminateSystems/nix-installer-action@main
# - uses: DeterminateSystems/magic-nix-cache-action@main
# - name: Test machine
# run: darwin-rebuild check --flake .
run: nix build .#darwinConfigurations.macbookpro.system

check_aarch64-darwin:
runs-on: macos-13-large
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Test machine
run: nix build .#darwinConfigurations.bne-nb-ariel.system

0 comments on commit 2f17f51

Please sign in to comment.