Skip to content

Commit

Permalink
github: upgrade runners on release/continuous
Browse files Browse the repository at this point in the history
 - Previously we also split Android build into 3, but because we
   get larger disk with large runners, we combine them again.
  • Loading branch information
poweifeng committed Sep 19, 2024
1 parent 2147a7a commit 4c52611
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 34 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/android-continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,15 @@ on:
- rc/**

jobs:
build-android-armv7:
build-android:
name: build-android-armv7
runs-on: macos-14
# We intentially use a larger runner here to enable larger disk space
# (standard linux runner will fail on disk space and faster build time).
runs-on: ubuntu-22.04-32core

steps:
- uses: actions/[email protected]
- name: Run Android Continuous
uses: ./.github/actions/android-continuous
with:
build-abi: armeabi-v7a

build-android-armv8a:
name: build-android-armv8a
runs-on: macos-14

steps:
- uses: actions/[email protected]
- name: Run Android Continuous
uses: ./.github/actions/android-continuous
with:
build-abi: arm64-v8a

build-android-x86_64:
name: build-android-x86_64
runs-on: macos-14

steps:
- uses: actions/[email protected]
- name: Run Android Continuous
uses: ./.github/actions/android-continuous
with:
build-abi: x86_64
build-abi: armeabi-v7a,arm64-v8a,x86_64
2 changes: 1 addition & 1 deletion .github/workflows/ios-continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build-ios:
name: build-ios
runs-on: macos-14
runs-on: macos-14-xlarge

steps:
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build-linux:
name: build-linux
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04-16core

steps:
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mac-continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build-mac:
name: build-mac
runs-on: macos-14
runs-on: macos-14-xlarge

steps:
- uses: actions/[email protected]
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

strategy:
matrix:
os: [macos-14, ubuntu-22.04]
os: [macos-14-xlarge, ubuntu-22.04-32core]

steps:
- name: Decide Git ref
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
build-web:
name: build-web
runs-on: macos-14
runs-on: ubuntu-22.04-16core
if: github.event_name == 'release' || github.event.inputs.platform == 'web'

steps:
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
build-android:
name: build-android
runs-on: macos-14
runs-on: ubuntu-22.04-16core
if: github.event_name == 'release' || github.event.inputs.platform == 'android'

steps:
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
build-ios:
name: build-ios
runs-on: macos-14
runs-on: macos-14-xlarge
if: github.event_name == 'release' || github.event.inputs.platform == 'ios'

steps:
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
build-windows:
name: build-windows
runs-on: windows-2019
runs-on: windows-2019-32core
if: github.event_name == 'release' || github.event.inputs.platform == 'windows'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web-continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build-web:
name: build-web
runs-on: macos-14
runs-on: ubuntu-22.04-16core

steps:
- uses: actions/[email protected]
Expand Down

0 comments on commit 4c52611

Please sign in to comment.