Skip to content

Commit 1fc6d2c

Browse files
authored
Add Github CI (#132)
1 parent 93213a2 commit 1fc6d2c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 "pkgman update -y haiku_devel devel:libsqlite3 cmd:gcc cmd:make makefile_engine" &&
29+
cd sources && make && make bindcatalogs

0 commit comments

Comments
 (0)