mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix(ci): build env vars on windows
This commit is contained in:
parent
4d217a83c1
commit
e28070b288
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -34,6 +34,9 @@ jobs:
|
||||
mapi:
|
||||
name: 'Automated pen-tests with Mayhem for API'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
|
||||
steps:
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@v2
|
||||
@ -47,7 +50,7 @@ jobs:
|
||||
run: go get
|
||||
|
||||
- name: Build
|
||||
run: CGO_ENABLED=0 go build -v .
|
||||
run: go build -v .
|
||||
|
||||
- name: start wakapi
|
||||
run: ./wakapi --config config.default.yml &
|
||||
@ -82,8 +85,10 @@ jobs:
|
||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
|
||||
steps:
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
@ -97,4 +102,4 @@ jobs:
|
||||
run: go get
|
||||
|
||||
- name: Build
|
||||
run: CGO_ENABLED=0 go build -v .
|
||||
run: go build -v .
|
||||
|
Loading…
Reference in New Issue
Block a user