Skip to content

Commit d97e395

Browse files
Add nightly integration build workflow for Swift
1 parent 47e039c commit d97e395

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# This workflow will build the project nightly to try to detect issues early
2+
3+
name: Nightly Integration Build
4+
5+
on:
6+
schedule:
7+
- cron: 0 4 * * *
8+
workflow_dispatch:
9+
10+
jobs:
11+
macOS:
12+
runs-on: macos-15
13+
steps:
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
16+
with:
17+
xcode-version: 16.4
18+
- name: Build for macOS
19+
run: swift build
20+
iOS:
21+
runs-on: macos-15
22+
steps:
23+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
25+
with:
26+
xcode-version: 16.4
27+
- name: Install Homebrew kegs
28+
run: make setup-brew
29+
- name: Build for iOS
30+
run: make build-ios
31+
tvOS:
32+
runs-on: macos-15
33+
steps:
34+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
35+
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
36+
with:
37+
xcode-version: 16.4
38+
- name: Install Homebrew kegs
39+
run: make setup-brew
40+
- name: Build for tvOS
41+
run: make build-tvos
42+
watchOS:
43+
runs-on: macos-15
44+
steps:
45+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
46+
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
47+
with:
48+
xcode-version: 16.4
49+
- name: Install Homebrew kegs
50+
run: make setup-brew
51+
- name: Build for watchOS
52+
run: make build-watchos
53+
visionOS:
54+
runs-on: macos-15
55+
steps:
56+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
57+
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
58+
with:
59+
xcode-version: 16.4
60+
- name: Install Homebrew kegs
61+
run: make setup-brew
62+
- name: Build for visionOS
63+
run: make build-visionos
64+
linux:
65+
runs-on: ubuntu-latest
66+
container: swift:6.1@sha256:e2a8181242cbffdb3ada767da44d1bc6681bad37f03525f5b7165f6421806ca3
67+
steps:
68+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
69+
- name: Build tests for Linux
70+
run: swift build

0 commit comments

Comments
 (0)