From c99bba3431e1c1e5d1f166be7ea4b9eaad1468b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 16 Mar 2024 12:38:09 +0100 Subject: [PATCH] add Github Actions CI (#113) --- .github/workflows/build.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..fb66181 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,28 @@ +name: "haiku-ci" +on: [push, pull_request] + +jobs: + build-haiku: + timeout-minutes: 60 + runs-on: ${{ matrix.config.runner }} + name: build-${{ matrix.config.os }}-${{ matrix.config.version }}-${{ matrix.config.architecture }} + + strategy: + fail-fast: false + matrix: + config: + # The OS versions supported are specific to the version of the action + # https://github.com/cross-platform-actions/action/blob/master/changelog.md + - { os: haiku, version: 'r1beta4', runner: 'ubuntu-latest', architecture: 'x86-64' } + - { os: haiku, version: 'r1beta4', runner: 'ubuntu-latest', architecture: 'x86' } + + steps: + - uses: actions/checkout@v4 + + - uses: korli/action@v0.23.0-haiku + with: + operating_system: ${{ matrix.config.os }} + version: ${{ matrix.config.version }} + architecture: ${{ matrix.config.architecture }} + run: | + make && make bindcatalogs