Use self-hosted AWS runners (#426)

This commit is contained in:
Birk Skyum
2022-09-08 05:23:14 +02:00
committed by GitHub
parent 3657ca52fb
commit 95f41105e8
16 changed files with 7210 additions and 24 deletions

View File

@@ -65,7 +65,7 @@ on:
jobs:
build:
runs-on: macos-12
runs-on: [self-hosted, macOS, ARM64]
concurrency:
# cancel jobs on PRs only
group: ${{ github.workflow }}-${{ github.ref }}
@@ -78,7 +78,6 @@ jobs:
run:
working-directory: platform/ios
shell: bash
steps:
- uses: actions/checkout@v3
with:
@@ -104,8 +103,12 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v3
with:
node-version: 18
- name: npm install
run: npm install --ignore-scripts
run: npm ci --ignore-scripts
- name: Prepare ccache
run: ccache --clear

View File

@@ -5,7 +5,7 @@ on:
jobs:
build:
runs-on: macos-12
runs-on: [self-hosted, macOS, ARM64]
env:
BUILDTYPE: Release
HOMEBREW_NO_AUTO_UPDATE: 1
@@ -41,7 +41,7 @@ jobs:
${{ runner.os }}-
- name: npm install
run: npm install --ignore-scripts
run: npm ci --ignore-scripts
- name: Prepare ccache
run: ccache --clear

View File

@@ -69,7 +69,8 @@ concurrency:
jobs:
build:
runs-on: macos-12
name: MacOS CI Tests
runs-on: [self-hosted, macOS, ARM64]
env:
BUILDTYPE: Debug
HOMEBREW_NO_AUTO_UPDATE: 1
@@ -105,8 +106,12 @@ jobs:
${{ runner.macos }}-build-
${{ runner.macos }}-
- uses: actions/setup-node@v3
with:
node-version: 18
- name: npm install
run: npm install --ignore-scripts
run: npm ci --ignore-scripts
- name: Prepare ccache
run: ccache --clear
@@ -140,4 +145,4 @@ jobs:
run: make macos-lint
- name: Darwin Style Code check
run: make darwin-style-code
run: make darwin-style-code