Skip to content

Commit 274c864

Browse files
Trying to fix syscall
1 parent 8ca5842 commit 274c864

File tree

1 file changed

+49
-9
lines changed

1 file changed

+49
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ env:
1919
GOPHERJS_PATH: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
2020

2121
jobs:
22-
smoke_tests:
23-
name: Smoke Tests
24-
strategy:
25-
matrix:
26-
os: [ ubuntu-latest, macos-latest, windows-latest ]
27-
runs-on: ${{ matrix.os }}
22+
build:
23+
name: Ubuntu Smoke
24+
runs-on: ubuntu-latest
2825
steps:
2926
- uses: actions/checkout@v4
3027
with:
@@ -34,16 +31,15 @@ jobs:
3431
- name: Setup GopherJS
3532
uses: ./.github/actions/setup-gopherjs/
3633
with:
37-
os: ${{ matrix.os }}
34+
os: ubuntu-latest
3835
- name: Test GopherJS
3936
working-directory: ${{ env.GOPHERJS_PATH }}
4037
run: go test -v -short ./...
4138
- name: Run Tests
4239
working-directory: ${{ env.GOPHERJS_PATH }}
4340
run: |
4441
gopherjs build -v net/http
45-
gopherjs test -v --short ./tests
46-
gopherjs test -v --short fmt log os sort
42+
gopherjs test -v --short fmt log
4743
4844
lint:
4945
name: Lint Checks
@@ -68,3 +64,47 @@ jobs:
6864
working-directory: ${{ env.GOPHERJS_PATH }}
6965
# All those packages should have // +build js.
7066
run: diff -u <(echo -n) <(go list ./compiler/natives/src/...)
67+
68+
windows_smoke:
69+
name: Window Smoke
70+
runs-on: windows-latest
71+
steps:
72+
- uses: actions/checkout@v4
73+
with:
74+
path: ${{ env.GOPHERJS_PATH }}
75+
- name: Copy Actions
76+
run: cp -r ${{ env.GOPHERJS_PATH }}/.github .
77+
- name: Setup GopherJS
78+
uses: ./.github/actions/setup-gopherjs/
79+
with:
80+
os: windows-latest
81+
- name: Test GopherJS
82+
working-directory: ${{ env.GOPHERJS_PATH }}
83+
run: go test -v -short ./...
84+
- name: Run Tests
85+
working-directory: ${{ env.GOPHERJS_PATH }}
86+
run: |
87+
gopherjs build -v net/http
88+
gopherjs test -v --short fmt sort ./tests
89+
90+
darwin_smoke:
91+
name: Darwin Smoke
92+
runs-on: macos-latest
93+
steps:
94+
- uses: actions/checkout@v4
95+
with:
96+
path: ${{ env.GOPHERJS_PATH }}
97+
- name: Copy Actions
98+
run: cp -r ${{ env.GOPHERJS_PATH }}/.github .
99+
- name: Setup GopherJS
100+
uses: ./.github/actions/setup-gopherjs/
101+
with:
102+
os: macos-latest
103+
- name: Test GopherJS
104+
working-directory: ${{ env.GOPHERJS_PATH }}
105+
run: go test -v -short ./...
106+
- name: Run Tests
107+
working-directory: ${{ env.GOPHERJS_PATH }}
108+
run: |
109+
gopherjs build -v net/http
110+
gopherjs test -v --short fmt log os ./tests

0 commit comments

Comments
 (0)