Skip to content

Commit 80a0f14

Browse files
authored
Merge branch 'HaikuArchives:master' into master
2 parents da34fd7 + e360eb9 commit 80a0f14

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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: 'r1beta5', runner: 'ubuntu-latest', architecture: 'x86-64' }
17+
- { os: haiku, version: 'r1beta5', runner: 'ubuntu-latest', architecture: 'x86' }
18+
- { os: haiku, version: 'nightly', runner: 'ubuntu-latest', architecture: 'x86-64' }
19+
- { os: haiku, version: 'nightly', runner: 'ubuntu-latest', architecture: 'x86' }
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- uses: korli/[email protected]
25+
with:
26+
operating_system: ${{ matrix.config.os }}
27+
version: ${{ matrix.config.version }}
28+
architecture: ${{ matrix.config.architecture }}
29+
run: |
30+
ssh user@localhost "pkgman update -y gcc_syslibs_devel makefile_engine cmd:gcc" &&
31+
make -j2 OBJ_DIR=objects

0 commit comments

Comments
 (0)