Skip to content

Commit 884cd67

Browse files
committed
CI: try to modernise Windows stuff
1 parent 71ce3b5 commit 884cd67

2 files changed

Lines changed: 16 additions & 26 deletions

File tree

.github/workflows/CI.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Ubuntu
1+
name: CI
22

33
on:
44
workflow_dispatch:
@@ -14,21 +14,24 @@ on:
1414

1515
jobs:
1616
test:
17-
name: GAP ${{ matrix.gap-branch }} - Rust ${{matrix.rust-version}}
18-
runs-on: ubuntu-latest
17+
name: ${{ matrix.os }} - GAP ${{ matrix.gap-branch }} - Rust ${{matrix.rust-version}}
18+
runs-on: ${{ matrix.os }}-latest
1919
strategy:
2020
fail-fast: false
2121
matrix:
22+
os:
23+
- ubuntu
2224
gap-branch:
2325
- master
2426
- stable-4.15
2527
- stable-4.14
2628
- stable-4.13
2729
rust-version:
2830
- stable
29-
#- 1.48
3031
steps:
31-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
33+
- uses: gap-actions/setup-cygwin@v2
34+
if: ${{ runner.os == 'Windows' }}
3235
- name: "Set up rust"
3336
uses: actions-rs/toolchain@v1
3437
with:
@@ -45,7 +48,7 @@ jobs:
4548
GAP_PKGS_TO_CLONE: "OrbitalGraphs quickcheck"
4649
GAP_PKGS_TO_BUILD: "datastructures digraphs ferret io json orb profiling"
4750
- name: "Run GAP tests for Vole"
48-
uses: gap-actions/run-pkg-tests@v2
51+
uses: gap-actions/run-pkg-tests@v4
4952
- uses: gap-actions/process-coverage@v2
5053
- uses: codecov/codecov-action@v5
5154
with:

.github/workflows/cygwin.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,14 @@ on:
1313
jobs:
1414
# The Cygwin job
1515
cygwin:
16-
name: Cygwin / GAP master
17-
runs-on: windows-2022
16+
name: Cygwin - GAP master - Rust stable
17+
runs-on: windows-latest
1818
strategy:
1919
fail-fast: false
2020

21-
defaults:
22-
run:
23-
shell: C:\cygwin64\bin\bash.exe --login -o igncr '{0}'
24-
25-
env:
26-
CHERE_INVOKING: 1
27-
2821
steps:
29-
- uses: actions/checkout@v4
30-
#- name: "Set git to use UNIX-style line endings"
31-
#shell: bash
32-
#run: |
33-
# git config --global core.autocrlf false
34-
# git config --global core.eol lf
35-
- name: "Install Cygwin"
36-
uses: gap-actions/setup-cygwin@v1
22+
- uses: actions/checkout@v5
23+
- uses: gap-actions/setup-cygwin@v2
3724
- name: "Set up rust"
3825
uses: actions-rs/toolchain@v1
3926
with:
@@ -43,13 +30,13 @@ jobs:
4330
- name: "Run the rust tests for Vole"
4431
run: cd rust && cargo test --release -q
4532
- name: "Clone GAP and some packages, and compile as necessary"
46-
uses: gap-actions/setup-gap@cygwin-v2
33+
uses: gap-actions/setup-gap@v2
4734
with:
4835
GAP_PKGS_TO_CLONE: "OrbitalGraphs quickcheck"
4936
GAP_PKGS_TO_BUILD: "datastructures digraphs ferret io json orb profiling"
5037
- name: "Run GAP tests for Vole"
51-
uses: gap-actions/run-pkg-tests@cygwin-v2
52-
- uses: gap-actions/process-coverage@cygwin-v2
38+
uses: gap-actions/run-pkg-tests@v4
39+
- uses: gap-actions/process-coverage@v2
5340
- uses: codecov/codecov-action@v5
5441
with:
5542
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)