Skip to content

Commit

Permalink
modification on github actions to make it compatible with flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
lIlIlIlIIIIlIIIllIIlIllIIllIII authored and lIlIlIlIIIIlIIIllIIlIllIIllIII committed May 30, 2022
1 parent 33773f4 commit 26ac1dc
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/run-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,10 @@ jobs:
run: |
OCAMLRUNPARAM=b opam exec -- make build
build-nix-21-05:
build-nix-flake:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/[email protected]
with:
nix_path: nixpkgs=channel:nixos-21.05
- run: nix-shell -p nix-info --run "nix-info -m"
- run: nix-build release.nix
- run: nix-shell --run "echo OK"

build-nix-unstable:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/[email protected]
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-shell -p nix-info --run "nix-info -m"
- run: nix-build release.nix
- run: nix-shell --run "echo OK"

- uses: cachix/install-nix-action@v15
- run: nix build
- run: nix develop -c echo ok

0 comments on commit 26ac1dc

Please sign in to comment.