Skip to content

Commit b8f01e3

Browse files
committed
Do tests on windows
1 parent 8a74f72 commit b8f01e3

File tree

1 file changed

+30
-27
lines changed

1 file changed

+30
-27
lines changed

.github/workflows/go.yml

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -10,47 +10,50 @@ on:
1010
branches: [ "main" ]
1111

1212
jobs:
13-
build-test:
13+
build-test-linux:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v3
1717

18-
- name: Set up Go
19-
uses: actions/setup-go@v3
20-
with:
21-
go-version: 1.24
18+
- name: Set up Go
19+
uses: actions/setup-go@v3
20+
with:
21+
go-version: 1.24
2222

23-
- name: Build
24-
run: go build -v ./...
23+
- name: Build
24+
run: go build -v ./...
2525

26-
- name: Test
27-
run: go test -run TestCherriNoSign -v ./...
26+
- name: Test
27+
run: go test -run TestCherri -v ./...
2828

29-
- name: Decompilation Test
30-
run: go test -run TestDecomp -v ./...
29+
- name: Decompilation Test
30+
run: go test -run TestDecomp -v ./...
3131

3232
build-macos:
3333
runs-on: macos-13
3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v3
3636

37-
- name: Set up Go
38-
uses: actions/setup-go@v3
39-
with:
40-
go-version: 1.22
37+
- name: Set up Go
38+
uses: actions/setup-go@v3
39+
with:
40+
go-version: 1.22
4141

42-
- name: Build
43-
run: go build -v ./...
42+
- name: Build
43+
run: go build -v ./...
4444

45-
build-windows:
45+
build-test-windows:
4646
runs-on: windows-latest
4747
steps:
48-
- uses: actions/checkout@v3
48+
- uses: actions/checkout@v3
4949

50-
- name: Set up Go
51-
uses: actions/setup-go@v3
52-
with:
53-
go-version: 1.22
50+
- name: Set up Go
51+
uses: actions/setup-go@v3
52+
with:
53+
go-version: 1.22
5454

55-
- name: Build
56-
run: go build -v ./...
55+
- name: Build
56+
run: go build -v ./...
57+
58+
- name: Test
59+
run: go test -run TestCherri -v ./...

0 commit comments

Comments
 (0)