Skip to content

Commit 91f1237

Browse files
authored
add Github Actions CI
1 parent 9d68956 commit 91f1237

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- uses: korli/action@v0.25.0-haiku1
23+
with:
24+
operating_system: ${{ matrix.config.os }}
25+
version: ${{ matrix.config.version }}
26+
architecture: ${{ matrix.config.architecture }}
27+
run: |
28+
cd source && make

0 commit comments

Comments
 (0)