Combine build workflows

This commit is contained in:
Fedor Korotkov 2026-01-23 15:38:51 +01:00
parent ef54211d34
commit da9cfcc95b
2 changed files with 11 additions and 19 deletions

View File

@ -1,17 +0,0 @@
name: Build (No Cache)
on:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build tart (no cache)
runs-on: ghcr.io/cirruslabs/macos-runner:tahoe
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
- name: Build
run: swift build --build-system swiftbuild --product tart

View File

@ -1,4 +1,4 @@
name: Build (Cached)
name: Build
on:
workflow_dispatch:
@ -7,7 +7,7 @@ permissions:
contents: read
jobs:
build:
build_cached:
name: Build tart (cached)
runs-on: ghcr.io/cirruslabs/macos-runner:tahoe
timeout-minutes: 30
@ -26,3 +26,12 @@ jobs:
export CLANG_ENABLE_COMPILE_CACHE=YES
export CLANG_ENABLE_MODULES=YES
swift build --build-system swiftbuild --product tart
build_no_cache:
name: Build tart (no cache)
runs-on: ghcr.io/cirruslabs/macos-runner:tahoe
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
- name: Build
run: swift build --build-system swiftbuild --product tart