From a982b1dfe52968049df266d3e9e7cb3fff5fa983 Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Fri, 28 Jun 2024 08:04:46 +0800 Subject: [PATCH] ci: add more runners --- .github/workflows/dorothy-workflow.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dorothy-workflow.yml b/.github/workflows/dorothy-workflow.yml index 7be0d0bdf..c52e113d4 100644 --- a/.github/workflows/dorothy-workflow.yml +++ b/.github/workflows/dorothy-workflow.yml @@ -109,8 +109,14 @@ jobs: - name: 'Trunk Check' shell: bash -leo pipefail {0} run: dorothy check - homebrew-macos-test: - runs-on: macos-latest + # https://github.com/actions/runner-images?tab=readme-ov-file#available-images + runner-test: + strategy: + fail-fast: false + matrix: + runner: [ubuntu-24.04, ubuntu-22.04, macos-14, macos-12] + # ubuntu-20.04 not supported, echo-wait fails: https://github.com/bevry/dorothy/actions/runs/9705310169/job/26787151094#step:2:1346 + runs-on: ${{ matrix.runner }} steps: - name: 'Dorothy Test' env: @@ -119,7 +125,11 @@ jobs: # ensure dorothy is cloned, and run command bash -c "$(curl -fsSL 'https://dorothy.bevry.me/run?slug=${{ github.repository }}&commit=${{ github.sha }}')" -- dorothy test fresh-macos-test: - runs-on: macos-latest + strategy: + fail-fast: false + matrix: + runner: [macos-14, macos-12] + runs-on: ${{ matrix.runner }} steps: - name: 'Uninstall Homebrew' run: | @@ -131,10 +141,10 @@ jobs: run: | # ensure dorothy is cloned, and run command bash -c "$(curl -fsSL 'https://dorothy.bevry.me/run?slug=${{ github.repository }}&commit=${{ github.sha }}')" -- dorothy test - distro-test: - continue-on-error: true + container-test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: container: - 'ubuntu:latest' # https://hub.docker.com/_/ubuntu