File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717jobs :
1818 build :
1919
20- runs-on : ubuntu-24.04
20+ # ubuntu-22.04 ships with kernel 6.8, which is within the supported range for the kernel modules.
21+ # ubuntu-24.04 ships with kernel 6.17, which is outside the supported range.
22+ # https://github.com/actions/runner-images/blob/21cc988dd143f7b70b40fc749eff96faebf35795/images/ubuntu/Ubuntu2204-Readme.md
23+ strategy :
24+ matrix :
25+ os : [ubuntu-22.04, ubuntu-24.04, macos-26]
26+ runs-on : ${{ matrix.os }}
2127
2228 steps :
2329 - uses : actions/checkout@v4
@@ -27,27 +33,21 @@ jobs:
2733 java-version : ' 21'
2834 distribution : ' temurin'
2935 cache : maven
30- - name : Install dependencies
36+ - name : Install dependencies (Linux)
37+ if : runner.os == 'Linux'
3138 shell : bash
3239 run : |
3340 sudo apt-get update
3441 sudo apt-get install -y \
35- auditd \
36- bison \
37- clang \
38- cmake \
39- curl \
40- flex \
41- fuse \
42- git \
43- ifupdown \
44- libaudit-dev \
45- libfuse-dev \
46- linux-headers-`uname -r` \
47- lsof \
48- pkg-config \
49- unzip \
50- uthash-dev wget
42+ auditd bison clang cmake curl flex fuse \
43+ git ifupdown libaudit-dev libfuse-dev linux-headers-`uname -r` \
44+ lsof pkg-config unzip uthash-dev wget
45+ - name : Install dependencies (macOS)
46+ if : runner.os == 'macOS'
47+ shell : bash
48+ run : |
49+ brew install git pkg-config maven
50+ brew install --cask osxfuse
5151 - name : Build with Maven
5252 run : mvn -B package --file pom.xml
5353
You can’t perform that action at this time.
0 commit comments