-
Notifications
You must be signed in to change notification settings - Fork 56
51 lines (48 loc) · 1.77 KB
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Nightly
on:
schedule:
- cron: "0 0 * * *"
jobs:
tests_release:
name: Test Release
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
# Linux
linux_env_vars: |
NODE_VERSION=v18.19.0
NODE_PATH=/usr/local/nvm/versions/node/v18.19.0/bin
NVM_DIR=/usr/local/nvm
CI=1
linux_pre_build_command: . .github/workflows/scripts/setup-linux.sh
linux_build_command: ./docker/test.sh
# Windows
windows_env_vars: |
CI=1
VSCODE_TEST=1
windows_pre_build_command: .github\workflows\scripts\windows\install-nodejs.ps1
windows_build_command: docker\test-windows.ps1
enable_windows_docker: false
tests_insiders:
name: Test Insiders
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
# Linux
linux_exclude_swift_versions: '[{"swift_version": "5.8"}, {"swift_version": "5.9"}, {"swift_version": "5.10"}, {"swift_version": "nightly-6.0"}, {"swift_version": "nightly-main"}]'
linux_env_vars: |
NODE_VERSION=v18.19.0
NODE_PATH=/usr/local/nvm/versions/node/v18.19.0/bin
NVM_DIR=/usr/local/nvm
CI=1
VSCODE_TEST=1
VSCODE_VERSION=insiders
linux_pre_build_command: . .github/workflows/scripts/setup-linux.sh
linux_build_command: ./docker/test.sh
# Windows
windows_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "nightly-6.0"}, {"swift_version": "nightly"}]'
windows_env_vars: |
CI=1
VSCODE_TEST=1
VSCODE_VERSION=insiders
windows_pre_build_command: .github\workflows\scripts\windows\install-nodejs.ps1
windows_build_command: docker\test-windows.ps1
enable_windows_docker: false