From 39cce77bef108a1021c5d8b2e2a3ebe2a97851f8 Mon Sep 17 00:00:00 2001 From: Joel Winarske Date: Thu, 30 Jan 2025 09:31:34 -0800 Subject: [PATCH] MacOS CI matrix Signed-off-by: Joel Winarske --- .../{workspace-automation.yml => linux.yml} | 5 +-- .github/workflows/macos.yml | 39 +++++++++++++++++++ 2 files changed, 41 insertions(+), 3 deletions(-) rename .github/workflows/{workspace-automation.yml => linux.yml} (86%) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/workspace-automation.yml b/.github/workflows/linux.yml similarity index 86% rename from .github/workflows/workspace-automation.yml rename to .github/workflows/linux.yml index b63e592..b4b9e85 100644 --- a/.github/workflows/workspace-automation.yml +++ b/.github/workflows/linux.yml @@ -1,4 +1,4 @@ -name: ubuntu-workspace-automation +name: linux on: pull_request: @@ -12,12 +12,11 @@ on: jobs: - workspace-automation: + linux-workspace-automation: strategy: matrix: os: [ubuntu-20.04, ubuntu-22.04, ubuntu-22.04-arm, ubuntu-24.04, ubuntu-24.04-arm] - # macos-10.15, macos-11, macos-12yes runs-on: ${{ matrix.os }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..009e1f4 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,39 @@ +name: macos + +on: + pull_request: + types: [ opened, synchronize, reopened, closed ] + release: + types: [ published, created, edited ] + workflow_dispatch: + schedule: + # daily + - cron: '0 0 * * *' + +jobs: + + macos-workspace-automation: + + strategy: + matrix: + os: [ macos-13, macos-14, macos-15 ] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Update sudo credentials + run: sudo -v + + - name: Create workspace + run: | + ./flutter_workspace.py --enable=qemu-agl-master + + - name: Test workspace + run: | + source ./setup_env.sh + flutter doctor -v + dart --version