From a8b765ae6adf8c89835ff387c9a1860940ea602a Mon Sep 17 00:00:00 2001 From: Matthew Huie Date: Wed, 20 Dec 2023 17:14:25 +0000 Subject: [PATCH] Change CI to use k8s shared runners --- .github/workflows/ci.yml | 9 ++++----- .github/workflows/documentation.yml | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 629f66f8..3345ccc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: macOS: @@ -37,7 +37,7 @@ jobs: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer linux: - runs-on: ubuntu-latest + runs-on: ["self-hosted", "general-ubuntu-amd"] strategy: matrix: swift: ["5.1", "latest"] @@ -66,10 +66,9 @@ jobs: fail_ci_if_error: true - name: Build Release run: swift build -c release - webAssembly: - runs-on: ubuntu-20.04 + runs-on: ["self-hosted", "general-ubuntu-amd"] steps: - name: Checkout uses: actions/checkout@master diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index ed63bdb3..2324bb3a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -2,19 +2,19 @@ name: Documentation on: push: - branches: [ master ] + branches: [master] paths: - .github/workflows/documentation.yml - Sources/FirebladeECS/**.swift workflow_dispatch: - branches: [ master ] + branches: [master] paths: - .github/workflows/documentation.yml - Sources/FirebladeECS/**.swift jobs: build: - runs-on: ubuntu-latest + runs-on: ["self-hosted", "general-ubuntu-amd"] steps: - uses: actions/checkout@master