File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " haiku-ci"
2+ on : [push, pull_request]
3+
4+ jobs :
5+ build-haiku :
6+ timeout-minutes : 60
7+ runs-on : ${{ matrix.config.runner }}
8+ name : build-${{ matrix.config.os }}-${{ matrix.config.version }}-${{ matrix.config.architecture }}
9+
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ config :
14+ # The OS versions supported are specific to the version of the action
15+ # https://github.com/cross-platform-actions/action/blob/master/changelog.md
16+ - { os: haiku, version: 'r1beta4', runner: 'ubuntu-latest', architecture: 'x86-64' }
17+ - { os: haiku, version: 'r1beta4', runner: 'ubuntu-latest', architecture: 'x86' }
18+
19+ steps :
20+ - uses : actions/checkout@v4
21+
22+ - uses : korli/action@v0.23.0-haiku
23+ with :
24+ operating_system : ${{ matrix.config.os }}
25+ version : ${{ matrix.config.version }}
26+ architecture : ${{ matrix.config.architecture }}
27+ run : |
28+ ssh user@localhost "chmod 777 /tmp/; pkgman update -y cmd:git cmd:autoconf cmd:cmake cmd:make cmd:clang_16 cmd:ld.lld>=16" &&
29+ git -C .. clone --depth 3 --branch=master --quiet https://github.com/the-tcpdump-group/libpcap.git &&
30+ export LDFLAGS="-Wl,--disable-new-dtags" &&
31+ if [[ `uname -m` == BePC ]]; then
32+ ssh user@localhost "pkgman update -y cmd:gcc_x86 cmd:pkg_config_x86 devel:libpcap_x86 gcc_x86_syslibs_devel" &&
33+ setarch x86 ./build_matrix.sh
34+ else
35+ ssh user@localhost "pkgman update -y cmd:gcc cmd:pkg_config devel:libpcap gcc_syslibs_devel" &&
36+ ./build_matrix.sh
37+ fi
You can’t perform that action at this time.
0 commit comments