Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 037df70

Browse files
authored
Merge pull request #2 from AkihiroSuda/dev
CI: remove old versions and increase timeout
2 parents 2a22b5e + e3a6e24 commit 037df70

File tree

1 file changed

+34
-15
lines changed

1 file changed

+34
-15
lines changed

.github/workflows/compile.yml

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,40 +15,59 @@ jobs:
1515
name: Formatting Check
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Run clang-format style check for Objective-C files.
20-
uses: jidicula/clang-format-action@v4.8.0
20+
uses: jidicula/clang-format-action@v4.13.0
2121
with:
2222
clang-format-version: '13'
2323
build:
2424
needs: formatting-check
2525
runs-on: ${{ matrix.os }}
26-
timeout-minutes: 6
26+
timeout-minutes: 30
2727
strategy:
2828
fail-fast: false
2929
matrix:
3030
os:
31-
- macOS-11
32-
- macOS-12
33-
- macOS-13
31+
- macos-13 # Intel
32+
- macos-14-large # Intel
33+
- macos-15-large # Intel
3434
go:
35-
- '^1.20'
36-
- '^1.21'
35+
- '^1.22'
36+
- '^1.23'
3737
steps:
3838
- name: Check out repository code
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Set up Go
41-
uses: actions/setup-go@v4
41+
uses: actions/setup-go@v5
4242
with:
4343
go-version: ${{ matrix.go }}
4444
- name: vet
4545
run: go vet ./...
46-
- name: Download Linux kernel
47-
run: make download_kernel
48-
- name: Unit Test
49-
run: make test
50-
timeout-minutes: 3
5146
- name: Build Linux
5247
run: make -C example/linux
5348
- name: Build GUI Linux
5449
run: make -C example/gui-linux
50+
test:
51+
needs: build
52+
runs-on: ${{ matrix.os }}
53+
timeout-minutes: 30
54+
strategy:
55+
fail-fast: false
56+
# Can't expand the matrix due to the flakiness of the CI infra
57+
matrix:
58+
os:
59+
- macos-15-large # Intel
60+
go:
61+
- '^1.23'
62+
steps:
63+
- name: Check out repository code
64+
uses: actions/checkout@v4
65+
- name: Set up Go
66+
uses: actions/setup-go@v5
67+
with:
68+
go-version: ${{ matrix.go }}
69+
- name: Download Linux kernel
70+
run: make download_kernel
71+
- name: Unit Test
72+
run: make test
73+
timeout-minutes: 10

0 commit comments

Comments
 (0)