Skip to content

Commit b50eed0

Browse files
committed
Update workflows again
1 parent 9bd59c6 commit b50eed0

2 files changed

Lines changed: 33 additions & 18 deletions

File tree

.github/workflows/macos.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
1-
name: Build and test macOS x86_64
2-
on:
3-
push:
4-
workflow_dispatch:
1+
name: macOS
2+
on: [push, workflow_dispatch]
53

64
concurrency:
7-
group: mac-ci-${{ github.ref }}
5+
group: macos-ci-${{ github.ref }}
86
cancel-in-progress: true
97

108
jobs:
119
build-and-test:
1210
strategy:
13-
fail-fast: false
11+
fail-fast: true
1412
matrix:
1513
os: [macos-14, macos-15, macos-15-intel, macos-26]
1614
racket-variant: ['CS']
1715
racket-version: ['stable']
18-
include:
19-
- os: macos-13
20-
arch: x64
21-
- os: macos-14
22-
arch: arm64
2316
runs-on: ${{ matrix.os }}
24-
name: Test on ${{ matrix.os }} (${{ matrix.arch }}) Racket ${{ matrix.racket-variant }} ${{ matrix.racket-version }}
17+
name: OS ${{ matrix.os }} / Racket ${{ matrix.racket-version }}
2518

2619
steps:
2720

@@ -52,7 +45,9 @@ jobs:
5245
gcc --version
5346
5447
- name: Install langs package
55-
run: raco pkg install --auto ../langs/
48+
run: |
49+
raco pkg install --auto ../langs/
5650
5751
- name: Run tests
58-
run: raco test -p langs
52+
run: |
53+
raco test -p langs
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,55 @@
1-
on:
2-
- push
1+
name: Ubuntu
2+
on: [push, workflow_dispatch]
3+
4+
concurrency:
5+
group: ubuntu-ci-${{ github.ref }}
6+
cancel-in-progress: true
37

48
jobs:
59
build-and-test:
6-
runs-on: ${{ matrix.os }}
710
strategy:
11+
fail-fast: true
812
matrix:
913
os: [ubuntu-22.04, ubuntu-24.04]
1014
racket-variant: ['CS']
1115
racket-version: ['8.6', '8.10', '8.14', '8.18', 'stable', 'current']
12-
name: Test on Racket ${{ matrix.racket-variant }} ${{ matrix.racket-version }} on ${{ matrix.os }}
16+
runs-on: ${{ matrix.os }}
17+
name: OS ${{ matrix.os }} / Racket ${{ matrix.racket-version }}
18+
1319
steps:
20+
1421
- name: Checkout
1522
uses: actions/checkout@main
23+
1624
- name: Install Racket
1725
uses: Bogdanp/setup-racket@v1.14
1826
with:
1927
architecture: 'x64'
2028
distribution: 'full'
2129
variant: ${{ matrix.racket-variant }}
2230
version: ${{ matrix.racket-version }}
31+
32+
- name: Cache Racket packages
33+
uses: actions/cache@v4
34+
with:
35+
path: |
36+
~/.racket
37+
~/.cache/racket
38+
key: racket-${{ matrix.racket-variant }}-${{ matrix.racket-version }}-${{ matrix.os }}
39+
2340
- name: Install clang
2441
run: |
2542
sudo apt install -y clang libssl-dev
43+
2644
- name: Version info
2745
run: |
2846
clang --version
2947
gcc --version
48+
3049
- name: Install langs package
3150
run: |
3251
raco pkg install --auto ../langs/
52+
3353
- name: Run tests
3454
run: |
3555
xvfb-run raco test -p langs

0 commit comments

Comments
 (0)