Skip to content

Commit

Permalink
ci: Run omnix on standard runners
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Dec 18, 2024
1 parent e8c05e5 commit 2c01547
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,26 @@ jobs:
echo "om binary failed due to lack of nix installation, as expected."
exit 0
fi
# Does omnix run on standard github runners?
github-actions-runners:
needs: main
runs-on: ${{ matrix.system }}
strategy:
matrix:
system: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- name: Donwload om static binary
uses: actions/download-artifact@v4
with:
name: om-${{ matrix.system == 'ubuntu-latest' && 'x86_64-linux' || matrix.system == 'macos-latest' && 'aarch64-darwin' || matrix.system }}
- name: Cache omnix source in Nix store
run: |
nix flake metadata .
nix flake show .
- name: Run omnix
run: |
chmod +x ./om
./om ci run github:srid/haskell-multi-nix

0 comments on commit 2c01547

Please sign in to comment.