Skip to content

Commit 83340ca

Browse files
committed
Enable self-hosted 6.2 build plus extend self-hosted timeout
1 parent 561c2fa commit 83340ca

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

.github/workflows/pull_request.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,17 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
include:
31-
#- swift-version: 'swift-6.2-branch'
32-
# build-type: 'docker'
33-
# build-compiler: '1'
34-
# runner: 'self-hosted'
35-
#- swift-version: 'development'
31+
- swift-version: 'tag:swift-6.2-DEVELOPMENT-SNAPSHOT-2025-09-06-a'
32+
build-type: 'docker'
33+
build-compiler: '1'
34+
runner: 'self-hosted'
35+
#- swift-version: 'tag:swift-DEVELOPMENT-SNAPSHOT-2025-09-07-a'
3636
# build-type: 'docker'
3737
# build-compiler: '1'
3838
# runner: 'self-hosted'
39-
- swift-version: 'swift-6.2-branch'
40-
build-type: 'docker'
41-
build-compiler: '0'
42-
runner: 'ubuntu-24.04'
43-
- swift-version: 'development'
44-
build-type: 'docker'
45-
build-compiler: '0'
46-
runner: 'ubuntu-24.04'
4739
runs-on: ${{ matrix.runner }}
48-
# 15 hour timeout
49-
timeout-minutes: 900
40+
# 16 hour timeout
41+
timeout-minutes: 960
5042
steps:
5143
- name: Free Disk Space
5244
if: ${{ matrix.runner != 'self-hosted' }}
@@ -63,7 +55,7 @@ jobs:
6355
run: |
6456
# these variabes are used by build-docker and build-local
6557
# to determine which Swift version to build for
66-
echo "BUILD_SCHEME=${{ matrix.swift-version }}" >> $GITHUB_ENV
58+
echo "SWIFT_VERSION=${{ matrix.swift-version }}" >> $GITHUB_ENV
6759
# pass the build-compiler matrix through to the build script
6860
echo "BUILD_COMPILER=${{ matrix.build-compiler }}" >> $GITHUB_ENV
6961
echo "TARGET_ARCHS=${{ matrix.arch }}" >> $GITHUB_ENV
@@ -75,12 +67,12 @@ jobs:
7567
working-directory: swift-ci/sdks/android
7668
run: |
7769
sudo apt install -q patchelf build-essential cmake ninja-build python3 golang git gnupg2 libcurl4-openssl-dev libedit-dev libicu-dev libncurses5-dev libpython3-dev libsqlite3-dev libxml2-dev rsync uuid-dev uuid-runtime tzdata curl unzip
78-
./build-local ${BUILD_SCHEME} ${WORKDIR}
70+
./build-local ${SWIFT_VERSION} ${WORKDIR}
7971
- name: Build Android SDK (Docker)
8072
if: ${{ matrix.build-type == 'docker' }}
8173
working-directory: swift-ci/sdks/android
8274
run: |
83-
./build-docker ${BUILD_SCHEME} ${WORKDIR}
75+
./build-docker ${SWIFT_VERSION} ${WORKDIR}
8476
- name: Install Host Toolchain
8577
if: ${{ matrix.build-type == 'docker' }}
8678
working-directory: swift-ci/sdks/android

0 commit comments

Comments
 (0)