|
45 | 45 | - "windows-app" |
46 | 46 | - "iOS" |
47 | 47 | - "android" |
48 | | - python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] |
49 | | - exclude: |
50 | | - # Android doesn't have 3.14 support packages yet |
51 | | - - python-version: "3.14" |
52 | | - backend: "android" |
| 48 | + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
53 | 49 |
|
54 | 50 | include: |
55 | 51 | - runs-on: ubuntu-latest |
@@ -112,44 +108,44 @@ jobs: |
112 | 108 | sudo udevadm trigger --name-match=kvm |
113 | 109 |
|
114 | 110 | steps: |
115 | | - - name: Checkout |
116 | | - uses: actions/checkout@v6.0.3 |
117 | | - with: |
118 | | - fetch-depth: 0 |
119 | | - |
120 | | - - name: Set up Python |
121 | | - uses: actions/setup-python@v6.2.0 |
122 | | - if: matrix.python-version != 'system' |
123 | | - with: |
124 | | - python-version: ${{ matrix.python-version }} |
125 | | - allow-prereleases: true |
126 | | - |
127 | | - - name: Prepare macOS |
128 | | - # GitHub recommends explicitly selecting the desired Xcode version: |
129 | | - # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140 |
130 | | - # This became a necessity as a result of |
131 | | - # https://github.com/actions/runner-images/issues/12541 and |
132 | | - # https://github.com/actions/runner-images/issues/12751. |
133 | | - if: matrix.runs-on == 'macos-latest' |
134 | | - run: | |
135 | | - sudo xcode-select --switch /Applications/Xcode_16.4.app |
136 | | -
|
137 | | - - name: Install Dependencies |
138 | | - run: ${{ matrix.pre-command }} |
139 | | - |
140 | | - - name: Install Briefcase |
141 | | - uses: beeware/.github/.github/actions/install-briefcase@main |
142 | | - |
143 | | - - name: Test App |
144 | | - timeout-minutes: 15 |
145 | | - run: briefcase run ${{ matrix.briefcase-target }} --test ${{ matrix.briefcase-run-args }} |
146 | | - |
147 | | - - name: Package |
148 | | - run: briefcase package ${{ matrix.briefcase-target }} --update --adhoc-sign |
149 | | - |
150 | | - - name: Upload Logs |
151 | | - uses: actions/upload-artifact@v7.0.1 |
152 | | - if: failure() |
153 | | - with: |
154 | | - name: build-failure-logs-${{ matrix.backend }}-${{ matrix.python-version }} |
155 | | - path: logs/* |
| 111 | + - name: Checkout |
| 112 | + uses: actions/checkout@v6.0.3 |
| 113 | + with: |
| 114 | + fetch-depth: 0 |
| 115 | + |
| 116 | + - name: Set up Python |
| 117 | + uses: actions/setup-python@v6.2.0 |
| 118 | + if: matrix.python-version != 'system' |
| 119 | + with: |
| 120 | + python-version: ${{ matrix.python-version }} |
| 121 | + allow-prereleases: true |
| 122 | + |
| 123 | + - name: Prepare macOS |
| 124 | + # GitHub recommends explicitly selecting the desired Xcode version: |
| 125 | + # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140 |
| 126 | + # This became a necessity as a result of |
| 127 | + # https://github.com/actions/runner-images/issues/12541 and |
| 128 | + # https://github.com/actions/runner-images/issues/12751. |
| 129 | + if: matrix.runs-on == 'macos-latest' |
| 130 | + run: | |
| 131 | + sudo xcode-select --switch /Applications/Xcode_16.4.app |
| 132 | +
|
| 133 | + - name: Install Dependencies |
| 134 | + run: ${{ matrix.pre-command }} |
| 135 | + |
| 136 | + - name: Install Briefcase |
| 137 | + uses: beeware/.github/.github/actions/install-briefcase@main |
| 138 | + |
| 139 | + - name: Test App |
| 140 | + timeout-minutes: 15 |
| 141 | + run: briefcase run ${{ matrix.briefcase-target }} --test ${{ matrix.briefcase-run-args }} |
| 142 | + |
| 143 | + - name: Package |
| 144 | + run: briefcase package ${{ matrix.briefcase-target }} --update --adhoc-sign |
| 145 | + |
| 146 | + - name: Upload Logs |
| 147 | + uses: actions/upload-artifact@v7.0.1 |
| 148 | + if: failure() |
| 149 | + with: |
| 150 | + name: build-failure-logs-${{ matrix.backend }}-${{ matrix.python-version }} |
| 151 | + path: logs/* |
0 commit comments