Skip to content

Commit fa0b3d6

Browse files
committed
ci: tweak to run on self_hosted
1 parent d5d10bb commit fa0b3d6

File tree

1 file changed

+37
-35
lines changed

1 file changed

+37
-35
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -12,52 +12,54 @@ jobs:
1212
runs-on: self-hosted
1313
strategy:
1414
fail-fast: false
15-
matrix:
16-
ghc:
17-
- "9.6.3"
15+
# matrix:
16+
# ghc:
17+
# - "9.6.3"
1818

1919
steps:
20-
- name: Install libraries
21-
run: |
22-
sudo apt update
23-
sudo apt install -y libzmq5-dev libpcre3-dev
20+
# - name: Install libraries
21+
# run: |
22+
# sudo apt update
23+
# sudo apt install -y libzmq5-dev libpcre3-dev
2424

25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

27-
- uses: haskell/actions/setup@v1
28-
name: Setup Haskell Stack
29-
with:
30-
ghc-version: ${{ matrix.ghc }}
31-
stack-version: "latest"
32-
enable-stack: true
27+
# - uses: haskell/actions/setup@v1
28+
# name: Setup Haskell Stack
29+
# with:
30+
# ghc-version: ${{ matrix.ghc }}
31+
# stack-version: "latest"
32+
# enable-stack: true
3333

34-
- uses: actions/cache@v1
35-
name: Cache ~/.stack
36-
with:
37-
path: ~/.stack
38-
key: ${{ runner.os }}-${{ matrix.ghc }}-stack
34+
# - uses: actions/cache@v4
35+
# name: Cache ~/.stack
36+
# with:
37+
# path: ~/.stack
38+
# key: ${{ runner.os }}-${{ matrix.ghc }}-stack
3939

4040
- name: Build
4141
run: |
42-
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
42+
# stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
43+
stack build --nix --test --bench --no-run-tests --no-run-benchmarks
4344
4445
- name: Test
4546
run: |
46-
stack test --system-ghc --test-arguments --print
47+
# stack test --system-ghc --test-arguments --print
48+
stack test --nix --test-arguments --print
4749
4850
no-gmp:
4951
runs-on: self-hosted
5052
strategy:
5153
fail-fast: false
5254
steps:
53-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@v4
5456

55-
- uses: cachix/install-nix-action@v22
56-
with:
57-
nix_path: nixpkgs=channel:nixos-unstable
58-
extra_nix_config: |
59-
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
60-
substituters = https://hydra.iohk.io https://cache.nixos.org/
57+
# - uses: cachix/install-nix-action@v22
58+
# with:
59+
# nix_path: nixpkgs=channel:nixos-unstable
60+
# extra_nix_config: |
61+
# trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
62+
# substituters = https://hydra.iohk.io https://cache.nixos.org/
6163

6264
- name: No GMP
6365
run: |
@@ -70,14 +72,14 @@ jobs:
7072
fail-fast: false
7173

7274
steps:
73-
- uses: actions/checkout@v3
75+
- uses: actions/checkout@v4
7476

75-
- uses: cachix/install-nix-action@v22
76-
with:
77-
nix_path: nixpkgs=channel:nixos-unstable
78-
extra_nix_config: |
79-
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
80-
substituters = https://hydra.iohk.io https://cache.nixos.org/
77+
# - uses: cachix/install-nix-action@v22
78+
# with:
79+
# nix_path: nixpkgs=channel:nixos-unstable
80+
# extra_nix_config: |
81+
# trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
82+
# substituters = https://hydra.iohk.io https://cache.nixos.org/
8183

8284
- name: Build
8385
run: |

0 commit comments

Comments
 (0)