You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: Run tests using swift-syntax-dev-utils (Linux)
32
+
runs-on: ubuntu-latest
33
+
container:
34
+
image: swift:latest
35
+
steps:
36
+
- name: Checkout repository
37
+
uses: actions/checkout@v4
38
+
with:
39
+
persist-credentials: false
40
+
- name: Test
41
+
run: "./swift-syntax-dev-utils test --enable-rawsyntax-validation --enable-test-fuzzing --toolchain /usr"
42
+
test_using_swift_syntax_dev_utils_windows:
43
+
name: Run tests using swift-syntax-dev-utils (Windows)
44
+
runs-on: windows-2022
45
+
steps:
46
+
- name: Pull Docker image
47
+
id: pull_docker_image
48
+
run: |
49
+
$Image = "swift:windowsservercore-ltsc2022"
50
+
docker pull $Image
51
+
echo "image=$Image" >> "$env:GITHUB_OUTPUT"
52
+
- name: Checkout repository
53
+
uses: actions/checkout@v4
54
+
with:
55
+
persist-credentials: false
56
+
- name: Test
57
+
run: |
58
+
mkdir $env:TEMP\test-script
59
+
echo @'
60
+
Set-PSDebug -Trace 1
61
+
$SwiftPath = where.exe swift
62
+
swift.exe run --package-path "C:\Source\SwiftSyntaxDevUtils" swift-syntax-dev-utils test --enable-rawsyntax-validation --enable-test-fuzzing --toolchain "$SwiftPath\..\.."
0 commit comments