forked from DGNum/colmena
.github: Remove Nix matrix
This commit is contained in:
parent
f894e03f60
commit
9cb8413602
5 changed files with 2 additions and 35 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -11,11 +11,8 @@ jobs:
|
||||||
image: ubuntu-latest
|
image: ubuntu-latest
|
||||||
- label: macOS
|
- label: macOS
|
||||||
image: macos-12
|
image: macos-12
|
||||||
nix:
|
|
||||||
- version: 2.13.2
|
|
||||||
url: https://releases.nixos.org/nix/nix-2.13.2/install
|
|
||||||
|
|
||||||
name: ${{ matrix.os.label }} + Nix ${{ matrix.nix.version }}
|
name: ${{ matrix.os.label }}
|
||||||
runs-on: ${{ matrix.os.image }}
|
runs-on: ${{ matrix.os.image }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v3.3.0
|
||||||
|
@ -31,11 +28,9 @@ jobs:
|
||||||
|
|
||||||
- name: Build Colmena
|
- name: Build Colmena
|
||||||
run: nix build -L
|
run: nix build -L
|
||||||
if: ${{ !contains(matrix.nix.version, '2.3') }}
|
|
||||||
|
|
||||||
- name: Build and install Colmena with flake-compat
|
- name: Build and install Colmena with flake-compat
|
||||||
run: nix-env -if default.nix
|
run: nix-env -if default.nix
|
||||||
|
|
||||||
- name: Build manual
|
- name: Build manual
|
||||||
run: nix build .#manual -L
|
run: nix build .#manual -L
|
||||||
if: ${{ !contains(matrix.nix.version, '2.3') && runner.os != 'macOS' }}
|
|
||||||
|
|
6
.github/workflows/linters.yml
vendored
6
.github/workflows/linters.yml
vendored
|
@ -9,12 +9,6 @@ jobs:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
nix:
|
|
||||||
- version: 2.13.2
|
|
||||||
url: https://releases.nixos.org/nix/nix-2.13.2/install
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v3.3.0
|
||||||
|
|
||||||
|
|
6
.github/workflows/manual-stable.yml
vendored
6
.github/workflows/manual-stable.yml
vendored
|
@ -15,12 +15,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository == 'zhaofengli/colmena'
|
if: github.repository == 'zhaofengli/colmena'
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
nix:
|
|
||||||
- version: 2.13.2
|
|
||||||
url: https://releases.nixos.org/nix/nix-2.13.2/install
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v3.3.0
|
||||||
|
|
||||||
|
|
6
.github/workflows/manual.yml
vendored
6
.github/workflows/manual.yml
vendored
|
@ -15,12 +15,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository == 'zhaofengli/colmena'
|
if: github.repository == 'zhaofengli/colmena'
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
nix:
|
|
||||||
- version: 2.13.2
|
|
||||||
url: https://releases.nixos.org/nix/nix-2.13.2/install
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v3.3.0
|
||||||
|
|
||||||
|
|
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
@ -9,15 +9,8 @@ jobs:
|
||||||
os:
|
os:
|
||||||
- label: Linux
|
- label: Linux
|
||||||
image: ubuntu-latest
|
image: ubuntu-latest
|
||||||
nix:
|
|
||||||
- version: 2.3.16
|
|
||||||
url: https://releases.nixos.org/nix/nix-2.3.16/install
|
|
||||||
- version: 2.4
|
|
||||||
url: https://releases.nixos.org/nix/nix-2.4/install
|
|
||||||
- version: 2.13.2
|
|
||||||
url: https://releases.nixos.org/nix/nix-2.13.2/install
|
|
||||||
|
|
||||||
name: ${{ matrix.os.label }} + Nix ${{ matrix.nix.version }}
|
name: ${{ matrix.os.label }}
|
||||||
runs-on: ${{ matrix.os.image }}
|
runs-on: ${{ matrix.os.image }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v3.3.0
|
||||||
|
@ -37,6 +30,3 @@ jobs:
|
||||||
run: echo "NIX_PATH=nixpkgs=$(nix-instantiate --eval flake-compat.nix -A defaultNix.inputs.nixpkgs.outPath | sed 's|\"||g')" >> $GITHUB_ENV
|
run: echo "NIX_PATH=nixpkgs=$(nix-instantiate --eval flake-compat.nix -A defaultNix.inputs.nixpkgs.outPath | sed 's|\"||g')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- run: nix-shell --run "cargo test"
|
- run: nix-shell --run "cargo test"
|
||||||
if: ${{ !contains(matrix.nix.version, '2.3') }}
|
|
||||||
- run: nix-shell --run "cargo test -- --skip flake"
|
|
||||||
if: ${{ contains(matrix.nix.version, '2.3') }}
|
|
||||||
|
|
Loading…
Reference in a new issue