Skip to content

Commit

Permalink
Gather more diagnostic information from the GitHub Windows runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
dabrahams committed Oct 11, 2023
1 parent d327742 commit c0c78cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ jobs:
- name: Build support library
run: clang -c ./Library/Hylo/LibC.c -o HyloLibC.lib

- name: Build and test
run: swift test --pkg-config-path .
shell: cmd
- name: Build normal
run: swift build --verbose --pkg-config-path .

- name: Build tests
run: swift build --verbose --build-tests --pkg-config-path .

- name: Run tests
run: swift test --verbose --pkg-config-path .
1 change: 1 addition & 0 deletions Plugins/TestGeneratorPlugin/PortableBuildToolPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ public extension PortableBuildCommand.Tool {
executable: swift.spmPath,
argumentPrefix: [
"run",
"--verbose",
// Only Macs currently use sandboxing, but nested sandboxes are prohibited, so for future
// resilience in case Windows gets a sandbox, disable it on these reentrant builds.
//
Expand Down

0 comments on commit c0c78cd

Please sign in to comment.