-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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/[email protected] | ||
with: | ||
operating_system: ${{ matrix.config.os }} | ||
version: ${{ matrix.config.version }} | ||
architecture: ${{ matrix.config.architecture }} | ||
run: | | ||
ssh user@localhost "pkgman update -y haiku_devel devel:libbz2 devel:libfreetype devel:libpng16 devel:libz cmd:gcc cmd:htmldoc cmd:make cmd:pkg_config cmd:ps2pdf" && | ||
make -C xpdf && make -C bepdf && make -C bepdf bindcatalogs |