Skip to content

Commit

Permalink
Change CI to use k8s shared runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Huie committed Dec 20, 2023
1 parent 27f4201 commit a8b765a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
macOS:
Expand Down Expand Up @@ -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"]
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8b765a

Please sign in to comment.