Skip to content

Commit d930d22

Browse files
committed
Update GitHub Actions
1 parent ce50151 commit d930d22

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

.github/workflows/c-cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
os: [ macos-latest, ubuntu-24.04-arm, ubuntu-latest ]
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- run: make
1616
- name: Unit tests
1717
run: |
Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,45 @@
1-
name: BSD CI
1+
name: BSD, Haiku, OmniOS CI
22

33
on: [push, pull_request]
44

55
jobs:
66
build:
77
runs-on: ubuntu-latest
88
strategy:
9+
fail-fast: false
910
matrix:
10-
operating_system: [ freebsd, netbsd, openbsd ]
11+
operating_system: [ freebsd, haiku, netbsd, omnios, openbsd ]
1112
architecture: [ arm64, x86-64 ]
1213
include:
1314
- operating_system: freebsd
14-
version: '14.3'
15-
pkginstall: sudo pkg update && sudo pkg install -y gmake
15+
version: '15.0'
16+
pkginstall: sudo pkg update && sudo pkg install -y gmake && export MAKE=gmake
17+
- operating_system: haiku
18+
version: 'r1beta5'
19+
pkginstall: pkgman refresh
1620
- operating_system: netbsd
1721
version: '10.1'
18-
pkginstall: sudo pkgin update && sudo pkgin -y install clang gmake
22+
pkginstall: sudo pkgin update && sudo pkgin -y install clang gmake && export MAKE=gmake
23+
- operating_system: omnios
24+
version: 'r151056'
25+
pkginstall: sudo pkg refresh && sudo pkg install build-essential && ln -s /usr/bin/gcc cc
1926
- operating_system: openbsd
2027
version: '7.8'
21-
pkginstall: sudo pkg_add -u && sudo pkg_add gmake
28+
pkginstall: sudo pkg_add -u && sudo pkg_add gmake && export MAKE=gmake
29+
exclude:
30+
- operating_system: haiku
31+
architecture: arm64
32+
- operating_system: omnios
33+
architecture: arm64
2234

2335
steps:
24-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v6
2537

26-
- uses: cross-platform-actions/action@v0.30.0
38+
- uses: cross-platform-actions/action@v0.32.0
2739
with:
2840
operating_system: ${{ matrix.operating_system }}
2941
architecture: ${{ matrix.architecture }}
3042
version: ${{ matrix.version }}
3143
run: |
3244
${{ matrix.pkginstall }}
33-
gmake CC=cc
45+
${MAKE:-make} CC=cc

.github/workflows/msys2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
shell: msys2 {0}
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
- uses: msys2/setup-msys2@v2
2424
with:
2525
msystem: ${{matrix.sys}}

0 commit comments

Comments
 (0)