-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modification on github actions to make it compatible with flakes
- 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.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |