Skip to content

Commit 33e7305

Browse files
committed
Merge code for the Cygwin CI job with the UNIX jobs
1 parent 3029705 commit 33e7305

File tree

1 file changed

+11
-27
lines changed

1 file changed

+11
-27
lines changed

.github/workflows/standard.yml

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,18 @@ jobs:
2929
- v4.14
3030
- v4.13
3131
- v4.12
32+
configflags:
33+
- "--disable-hpcombi"
34+
35+
include:
36+
- os: Windows
37+
gap-version: latest
38+
configflags: "--disable-fmt --disable-hpcombi" # to try and speed up compilation FIXME don't disable hpcombi
3239

3340
steps:
3441
- uses: actions/checkout@v5
42+
- uses: gap-actions/setup-cygwin@v2
43+
if: ${{ runner.os == 'Windows' }}
3544
- name: "Install macOS dependencies"
3645
if: ${{ runner.os == 'macOS' }}
3746
run: brew install automake libtool
@@ -66,38 +75,13 @@ jobs:
6675
- name: "Build Semigroups"
6776
uses: gap-actions/build-pkg@v2
6877
with:
69-
CONFIGFLAGS: --disable-hpcombi
78+
CONFIGFLAGS: ${{ matrix.configflags }}
7079
- name: "Run Semigroups package's tst/teststandard.g"
7180
uses: gap-actions/run-pkg-tests@v4
7281
- uses: gap-actions/process-coverage@v3
7382
- uses: codecov/codecov-action@v5
7483
- name: "Run GAP's tst/testinstall.g"
7584
uses: gap-actions/run-pkg-tests@v4
85+
if: ${{ runner.os != 'Windows' }}
7686
with:
7787
testfile: "ci/run-gap-testinstall.g"
78-
79-
standard-cygwin:
80-
name: "Windows / GAP master / 64-bit"
81-
runs-on: windows-latest
82-
env:
83-
CHERE_INVOKING: 1
84-
steps:
85-
- uses: actions/checkout@v5
86-
- name: "Setup cygwin"
87-
uses: gap-actions/setup-cygwin@v2
88-
- name: "Install GAP"
89-
uses: gap-actions/setup-gap@v3
90-
- name: "Build necessary GAP packages"
91-
shell: bash
92-
run: |
93-
cd ${GAPROOT}/pkg
94-
../bin/BuildPackages.sh --strict digraphs* io* orb* datastructures* profiling*
95-
- name: "Build Semigroups"
96-
uses: gap-actions/build-pkg@v2
97-
with:
98-
CONFIGFLAGS: --disable-fmt --disable-hpcombi # to try and speed up compilation FIXME don't disable hpcombi
99-
- uses: gap-actions/run-pkg-tests@v4
100-
with:
101-
testfile: "tst/teststandard.g"
102-
- uses: gap-actions/process-coverage@v3
103-
- uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)