Skip to content
This repository was archived by the owner on Sep 29, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
self-hosted-runner:
labels:
- tart
29 changes: 17 additions & 12 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
push:
branches: [main]
paths-ignore:
- '**.md'
pull_request:
Expand All @@ -14,7 +15,8 @@ concurrency:

jobs:
checks:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: [self-hosted, macOS, ARM64, tart]
steps:
- uses: actions/checkout@v4

Expand All @@ -37,18 +39,19 @@ jobs:
- run: npm test

runSdkManager:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - ${{ matrix.cmdline-tools-version }}
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ${{ matrix.platform.runner }}
name: ${{ matrix.platform.name }} - ${{ matrix.cmdline-tools-version }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
- macos-15
- macos-14
- windows-2025
- windows-2022
platform:
- name: macos-arm64
runner: [self-hosted, macOS, ARM64, tart]
- name: linux-x64
runner: [self-hosted, linux, x64]
- name: windows-x64
runner: [self-hosted, windows, x64]
cmdline-tools-version:
- 14742923
- 13114758
Expand Down Expand Up @@ -82,13 +85,15 @@ jobs:
with:
cmdline-tools-version: ${{ matrix.cmdline-tools-version }}
log-accepted-android-sdk-licenses: 'false'
# The obsolete tools package is absent on clean self-hosted images.
packages: platform-tools

- run: sdkmanager --list

CI:
if: always()
if: always() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
needs: [checks, runSdkManager]
runs-on: ubuntu-latest
runs-on: [self-hosted, macOS, ARM64, tart]
steps:
- run: |
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ on:

jobs:
analyze:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
name: Analyze
runs-on: ubuntu-latest
runs-on: [self-hosted, macOS, ARM64, tart]
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ permissions:

jobs:
dependabot:
runs-on: ubuntu-latest
runs-on: [self-hosted, macOS, ARM64, tart]
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'premex-pot[bot]' }}
steps:
# Generate an elevated token via the Premex Pot GitHub App.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:

jobs:
build:
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
runner:
- [self-hosted, linux, x64]
- [self-hosted, windows, x64]
- [self-hosted, macOS, ARM64, tart]

# Disabled, because daveol/SampleApplication is missing
if: ${{ false }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-sdk-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
update:
runs-on: ubuntu-latest
runs-on: [self-hosted, macOS, ARM64, tart]
steps:
- uses: actions/create-github-app-token@v2
id: app-token
Expand Down
Loading