Skip to content

Commit 85b678f

Browse files
committed
Swift Android build
1 parent 5e8011e commit 85b678f

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/pull_request.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
build:
1010
name: Build Docker images
1111
runs-on: ubuntu-latest
12-
if: false
1312
steps:
1413
- name: Checkout repository
1514
uses: actions/checkout@v4
@@ -26,7 +25,6 @@ jobs:
2625
static-linux-build:
2726
name: Build Static Linux image
2827
runs-on: ubuntu-latest
29-
if: false
3028
steps:
3129
- name: Checkout repository
3230
uses: actions/checkout@v4
@@ -39,9 +37,11 @@ jobs:
3937
strategy:
4038
fail-fast: false
4139
matrix:
42-
# build only x86_64 to speed up the validation
40+
# blank arch builds all (aarch64,x86_64,armv7)
41+
arch: ['']
42+
# builds only x86_64 to speed up the validation
4343
#arch: ['x86_64']
44-
arch: ['x86_64', '']
44+
#arch: ['x86_64', '']
4545
runs-on: ubuntu-24.04
4646
steps:
4747
- name: Checkout repository
@@ -77,10 +77,8 @@ jobs:
7777
7878
# There is no way to prevent even a single-file artifact from being zipped:
7979
# https://github.com/actions/upload-artifact?tab=readme-ov-file#zip-archives
80-
# so we tack ".zip" on to the end of the name
81-
ARTIFACT_NAME="${ARTIFACT_NAME}.zip"
82-
83-
# e.g.: swift-6.1-RELEASE_android-0.1-x86_64.artifactbundle.tar.gz
80+
# so the actual artifact download will look like:
81+
# swift-6.1-RELEASE_android-0.1-x86_64.artifactbundle.tar.gz.zip
8482
echo "artifact-name=${ARTIFACT_NAME}" >> $GITHUB_OUTPUT
8583
8684
# validate some required paths in the artifactbundle
@@ -157,3 +155,4 @@ jobs:
157155
package-path: ${{ runner.temp }}/swift-algorithms
158156
installed-sdk: ${{ steps.info.outputs.sdk-id }}
159157
installed-swift: ${{ steps.info.outputs.swift-root }}
158+

0 commit comments

Comments
 (0)