Again
This commit is contained in:
parent
e16d420b66
commit
103d7183a0
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -24,15 +24,19 @@ jobs:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: Install nix dependencies
|
||||
run: nix-shell --run 'env'
|
||||
env:
|
||||
WITH_SHELL: "nix-shell --argstr compiler ${{matrix.compiler}} --run"
|
||||
run: ${WITH_SHELL} 'env'
|
||||
|
||||
- name: Make configure script
|
||||
run: test -f ./configure || nix-shell --run 'autoreconf -sfiv'
|
||||
env:
|
||||
WITH_SHELL: "nix-shell --argstr compiler ${{matrix.compiler}} --run"
|
||||
run: test -f ./configure || ${WITH_SHELL} 'autoreconf -sfiv'
|
||||
|
||||
## TODO: do this in a matrix
|
||||
- name: Compiler ${{matrix.compiler}}
|
||||
env:
|
||||
WITH_SHELL: "nix-shell ../../shell.nix--argstr compiler ${{matrix.compiler}} --run"
|
||||
WITH_SHELL: "nix-shell ../../shell.nix --argstr compiler ${{matrix.compiler}} --run"
|
||||
run: |
|
||||
mkdir -p build/${{matrix.compiler}}
|
||||
cd build/${{matrix.compiler}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user