mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
modification on github actions to make it compatible with flakes
This commit is contained in:
parent
33773f42b4
commit
26ac1dc1bd
23
.github/workflows/run-builds.yml
vendored
23
.github/workflows/run-builds.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user