Update main.yml
This commit is contained in:
parent
6df51c2c11
commit
19eb0b9fbe
|
@ -29,16 +29,17 @@ jobs:
|
||||||
- name: Install Deps
|
- name: Install Deps
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
choco uninstall mingw
|
Invoke-WebRequest -OutFile gcc.zip http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%205%20series/5.1.0-tdm-1%20SJLJ/gcc-5.1.0-tdm-1-core.zip/download
|
||||||
choco install mingw --x86
|
Expand-Archive -Path gcc.zip -DestinationPath C:/tdmgcc
|
||||||
Invoke-WebRequest -OutFile ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-win-x86.7z
|
Invoke-WebRequest -OutFile ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-win-x86.7z
|
||||||
7z e ultralight.7z *.dll -r
|
7z e ultralight.7z *.dll -r
|
||||||
- name: Test
|
- name: Test
|
||||||
env:
|
env:
|
||||||
GOARCH: 386
|
GOARCH: 386
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
|
CC: C:/tdmgcc/bin/gcc.exe
|
||||||
run: |
|
run: |
|
||||||
gcc --version
|
go env
|
||||||
go test
|
go test
|
||||||
Linux_x64:
|
Linux_x64:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue