mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-17 06:55:05 -05:00
[CI] Allow selfhosted runner configuration using repository variables (#2560)
This commit is contained in:
parent
109345e94d
commit
7551fba3d2
10
.github/workflows/generate-builds.yml
vendored
10
.github/workflows/generate-builds.yml
vendored
@ -7,7 +7,7 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-12
|
runs-on: ${{ vars.MAC_RUNNER || 'macos-12' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
gcc: 12
|
gcc: 12
|
||||||
archive-suffix: performance
|
archive-suffix: performance
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ (matrix.os == 'ubuntu-20.04' && (vars.LINUX_COMPATIBILITY_RUNNER || matrix.os)) || (matrix.os == 'ubuntu-22.04' && (vars.LINUX_PERFORMANCE_RUNNER || matrix.os)) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -124,7 +124,7 @@ jobs:
|
|||||||
soh.appimage
|
soh.appimage
|
||||||
readme.txt
|
readme.txt
|
||||||
build-switch:
|
build-switch:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.LINUX_RUNNER || 'ubuntu-latest' }}
|
||||||
container:
|
container:
|
||||||
image: devkitpro/devkita64:latest
|
image: devkitpro/devkita64:latest
|
||||||
steps:
|
steps:
|
||||||
@ -154,7 +154,7 @@ jobs:
|
|||||||
soh.nro
|
soh.nro
|
||||||
readme.txt
|
readme.txt
|
||||||
build-wiiu:
|
build-wiiu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.LINUX_RUNNER || 'ubuntu-latest' }}
|
||||||
container:
|
container:
|
||||||
image: devkitpro/devkitppc:latest
|
image: devkitpro/devkitppc:latest
|
||||||
steps:
|
steps:
|
||||||
@ -189,7 +189,7 @@ jobs:
|
|||||||
soh.wuhb
|
soh.wuhb
|
||||||
readme.txt
|
readme.txt
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-latest
|
runs-on: ${{ vars.WINDOWS_RUNNER || 'windows-latest' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user