Kevin F. Konrad 3fea811147
Some checks failed
Build / build-linux (3.0.0) (push) Has been cancelled
Build / build-linux (3.0.2) (push) Has been cancelled
Build / build-linux (3.1.2) (push) Has been cancelled
Build / build-linux (3.2.2) (push) Has been cancelled
Build / build-linux (3.3.1) (push) Has been cancelled
Build / build-linux (3.4.1) (push) Has been cancelled
Build / build-linux (3.5.1) (push) Has been cancelled
Build / build-linux (3.6.4) (push) Has been cancelled
Build / build-linux (3.7.1) (push) Has been cancelled
Build / build-linux (4.0.0) (push) Has been cancelled
Build / build-macos (macos-13) (push) Has been cancelled
Build / build-macos (macos-14) (push) Has been cancelled
Build / build-macos (macos-latest) (push) Has been cancelled
Rewrite workflow to use Docker images for testing on linux (#956)
* rewrite workflow to use Docker images for testing on linux

* avoid string collect as it's unsupported in 3.0.0

* use while read instead of mktemp to capture outputs

---------

Co-authored-by: Kevin F. Konrad <kevin.konrad@skillbyte.de>
2025-03-10 16:35:25 -07:00

52 lines
1.1 KiB
YAML

name: Build
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build-linux:
strategy:
fail-fast: false
matrix:
# only use the latest patch level for all minor versions to reduce number of jobs
fish:
- '3.0.0' # since 3.0.0 is the oldest officially supported version it's included as well
- '3.0.2'
- '3.1.2'
- '3.2.2'
- '3.3.1'
- '3.4.1'
- '3.5.1'
- '3.6.4'
- '3.7.1'
- '4.0.0'
runs-on: ubuntu-latest
container:
image: ohmyfish/fish:${{ matrix.fish }}
options: --user root
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Run tests
uses: ./.github/actions/run-tests
build-macos:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- macos-13
- macos-14
runs-on: ${{ matrix.os }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Run tests
uses: ./.github/actions/run-tests