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:
|
mapi:
|
||||||
name: 'Automated pen-tests with Mayhem for API'
|
name: 'Automated pen-tests with Mayhem for API'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
CGO_ENABLED: 0
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
@ -47,7 +50,7 @@ jobs:
|
|||||||
run: go get
|
run: go get
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: CGO_ENABLED=0 go build -v .
|
run: go build -v .
|
||||||
|
|
||||||
- name: start wakapi
|
- name: start wakapi
|
||||||
run: ./wakapi --config config.default.yml &
|
run: ./wakapi --config config.default.yml &
|
||||||
@ -82,8 +85,10 @@ jobs:
|
|||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
env:
|
||||||
|
CGO_ENABLED: 0
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
@ -97,4 +102,4 @@ jobs:
|
|||||||
run: go get
|
run: go get
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: CGO_ENABLED=0 go build -v .
|
run: go build -v .
|
||||||
|
Loading…
Reference in New Issue
Block a user