AirbrushTool: simplify code for Spray; make it work with alpha selections #937
Workflow file for this run
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
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@v3 | |
- uses: korli/action@v0.14.0-haiku | |
with: | |
operating_system: ${{ matrix.config.os }} | |
version: ${{ matrix.config.version }} | |
architecture: ${{ matrix.config.architecture }} | |
run: | | |
if [[ `uname -m` == BePC ]]; then | |
setarch x86 ./build.sh | |
else | |
./build.sh | |
fi |