Skip to content

Commit

Permalink
Gather windows info
Browse files Browse the repository at this point in the history
  • Loading branch information
lu4p committed Nov 26, 2024
1 parent e982a61 commit e56d64d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -37,14 +37,14 @@ jobs:
# linux already runs the tests with -race below, plus extra checks,
# so skip the regular tests to prevent it from taking the longest.
- if: matrix.os != 'ubuntu-latest'
run: go test -timeout=15m ./...
run: go test -run Script/reflect
# macos and windows failures with bincmp can be hard to reproduce locally,
# so upload the binaries as artifacts.
- uses: actions/upload-artifact@v4
if: failure()
with:
name: bincmp_output
path: bincmp_output/
name: debug
path: debug/
# macos and windows tend to be a bit slower,
# and it's rare that a race in garble would be OS-specific.
- if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion testdata/script/reflect.txtar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exec garble build
exec garble -debugdir=D:\a\garble\garble\debug build
exec ./main
cmp stdout main.stdout

Expand Down

0 comments on commit e56d64d

Please sign in to comment.