modification on github actions to make it compatible with flakes

This commit is contained in:
lIlIlIlIIIIlIIIllIIlIllIIllIII 2022-05-30 15:42:00 +02:00
parent 33773f42b4
commit 26ac1dc1bd
No known key found for this signature in database
GPG Key ID: 0D4F3CEF398F7CC0

View File

@ -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/checkout@v2.3.4
- uses: cachix/install-nix-action@v14.1
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/checkout@v2.3.4
- uses: cachix/install-nix-action@v14.1
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