ci: validate all nix packages
@@ -131,11 +131,24 @@ jobs:
- name: release
flag: --release
- nix:
+ nix-develop:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
- - run: nix develop --impure --ignore-environment -c cargo test 'wasm::'
- - run: nix build -L
+ - run: nix develop -L --ignore-environment --impure -c cargo test 'wasm::'
+
+ nix-dynamic:
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2.4.0
+ - uses: cachix/install-nix-action@v16
+ - run: nix run -L . info
+
+ nix-static:
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2.4.0
+ - uses: cachix/install-nix-action@v16
+ - run: nix run -L '.#enarx-static' info
- run: nix build -L '.#enarx-docker'
