From 55cf5f90d00497718e0be87fd18ef7eac040d821 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 21 Nov 2023 10:13:58 +0800 Subject: [PATCH] Add other platforms into CI check. --- .github/workflows/ci.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7859373..242c348 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,14 +18,20 @@ jobs: build: runs-on: macOS-latest strategy: + fail-fast: false matrix: - # target: ['macOS', 'iOS', 'tvOS', 'watchOS'] - target: ['macOS'] + target: ['macOS', 'iOS', 'tvOS', 'watchOS'] include: - briefcase-run-args: + - run-tests: false + + - target: macOS + run-tests: true + + - target: iOS + briefcase-run-args: ' -d "iPhone SE (3rd generation)"' + run-tests: true - # - target: iOS - # briefcase-run-args: ' -d "iPhone SE (3rd generation)"' steps: - uses: actions/checkout@v4 @@ -48,17 +54,20 @@ jobs: make ${{ matrix.target }} - uses: actions/checkout@v4 + if: matrix.run-tests with: repository: beeware/Python-support-testbed path: Python-support-testbed ref: py3.13-support - name: Install dependencies + if: matrix.run-tests run: | # Use the development version of Briefcase python -m pip install git+https://github.com/beeware/briefcase.git - name: Run support testbed check + if: matrix.run-tests working-directory: Python-support-testbed # TODO - remove the template_branch option. run: briefcase run ${{ matrix.target }} Xcode --test ${{ matrix.briefcase-run-args }} -C support_package=\'../dist/Python-${{ steps.config-vars.outputs.PYTHON_VER }}-${{ matrix.target }}-support.custom.tar.gz\' -C template_branch=\'framework-lib\'