Skip to content

Commit 34efbc1

Browse files
ci: modernise extended.yml
1 parent 0c27cd5 commit 34efbc1

1 file changed

Lines changed: 10 additions & 34 deletions

File tree

.github/workflows/extended.yml

Lines changed: 10 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -21,61 +21,37 @@ concurrency:
2121

2222
jobs:
2323
extended:
24-
name: "${{ matrix.os }} / GAP ${{ matrix.gap-version }} / ${{ matrix.ABI }}-bit"
24+
name: "${{ matrix.os }} / GAP ${{ matrix.gap-version }}"
2525
runs-on: "${{ matrix.os }}-latest"
2626
strategy:
2727
fail-fast: false
2828
matrix:
2929
os:
3030
- Ubuntu
31+
- macOS
3132
gap-version:
3233
- master
33-
ABI:
34-
- 64
35-
- 32
36-
37-
include:
38-
- os: macOS
39-
gap-version: master
40-
ABI: 64
4134

4235
steps:
4336
- uses: actions/checkout@v6
4437
- name: "Install macOS dependencies"
4538
if: ${{ runner.os == 'macOS' }}
4639
run: brew install automake libtool
47-
- name: "Install 32-bit Ubuntu packages"
48-
if: ${{ runner.os == 'Linux' && matrix.ABI == '32' }}
49-
run: |
50-
sudo dpkg --add-architecture i386
51-
sudo apt-get update
52-
packages=(
53-
libgmp-dev:i386
54-
libreadline-dev:i386
55-
zlib1g-dev:i386
56-
gcc-multilib
57-
g++-multilib
58-
)
59-
sudo apt-get install "${packages[@]}"
40+
- name: "Setup ccache"
41+
if: ${{ runner.os != 'Windows' }}
42+
uses: Chocobo1/setup-ccache-action@v1
43+
with:
44+
update_packager_index: false
45+
override_cache_key: ${{ runner.os }}-${{ matrix.gap-version }}-${{ github.ref }}
46+
override_cache_key_fallback: ${{ runner.os }}-${{ matrix.gap-version }}
6047
- name: "Install GAP"
6148
uses: gap-actions/setup-gap@v3
6249
with:
6350
gap-version: ${{ matrix.gap-version }}
64-
env:
65-
ABI: ${{ matrix.ABI }}
66-
- name: "Build necessary GAP packages"
67-
shell: bash
68-
env:
69-
ABI: ${{ matrix.ABI }}
70-
run: |
71-
cd ${GAPROOT}/pkg
72-
../bin/BuildPackages.sh --strict digraphs* io* orb* datastructures* profiling*
7351
- name: "Build Semigroups"
7452
uses: gap-actions/build-pkg@v3
7553
with:
76-
CONFIGFLAGS: --disable-hpcombi
77-
env:
78-
ABI: ${{ matrix.ABI }}
54+
configflags: --disable-hpcombi
7955
- name: "Run GAP's tst/teststandard.g"
8056
uses: gap-actions/run-pkg-tests@v4
8157
with:

0 commit comments

Comments
 (0)