Skip to content

Commit 29cd25f

Browse files
committed
Add other platforms into CI check.
1 parent 6ec85e7 commit 29cd25f

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,18 @@ jobs:
1919
runs-on: macOS-latest
2020
strategy:
2121
matrix:
22-
# target: ['macOS', 'iOS', 'tvOS', 'watchOS']
23-
target: ['macOS']
22+
target: ['macOS', 'iOS', 'tvOS', 'watchOS']
2423
include:
2524
- briefcase-run-args:
25+
- run-tests: false
26+
27+
- target: macOS
28+
run-tests: true
29+
30+
- target: iOS
31+
briefcase-run-args: ' -d "iPhone SE (3rd generation)"'
32+
run-tests: true
2633

27-
# - target: iOS
28-
# briefcase-run-args: ' -d "iPhone SE (3rd generation)"'
2934
steps:
3035
- uses: actions/checkout@v4
3136

@@ -36,29 +41,34 @@ jobs:
3641
echo "PYTHON_VER=${PYTHON_VER}" | tee -a ${GITHUB_OUTPUT}
3742
3843
- name: Set up Python
44+
if: matrix.run-tests
3945
uses: actions/setup-python@v4.7.1
4046
with:
4147
# Appending -dev ensures that we can always build the dev release.
4248
# It's a no-op for versions that have been published.
4349
python-version: ${{ steps.config-vars.outputs.PYTHON_VER }}-dev
4450

4551
- name: Build ${{ matrix.target }}
52+
if: matrix.run-tests
4653
run: |
4754
# Do the build for the requested target.
4855
make ${{ matrix.target }}
4956
5057
- uses: actions/checkout@v4
58+
if: matrix.run-tests
5159
with:
5260
repository: beeware/Python-support-testbed
5361
path: Python-support-testbed
5462
ref: py3.13-support
5563

5664
- name: Install dependencies
65+
if: matrix.run-tests
5766
run: |
5867
# Use the development version of Briefcase
5968
python -m pip install git+https://github.com/beeware/briefcase.git
6069
6170
- name: Run support testbed check
71+
if: matrix.run-tests
6272
working-directory: Python-support-testbed
6373
# TODO - remove the template_branch option.
6474
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\'

0 commit comments

Comments
 (0)