Update main.yml
This commit is contained in:
parent
f9c62e8362
commit
affaf5ea01
|
@ -14,7 +14,7 @@ jobs:
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
Invoke-WebRequest -OutFile ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-win-x64.7z
|
Invoke-WebRequest -OutFile ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-win-x64.7z
|
||||||
7z e ultralight.7z .\bin\*.dll
|
7z e ultralight.7z *.dll -r
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test
|
run: go test
|
||||||
Windows_x32:
|
Windows_x32:
|
||||||
|
@ -31,13 +31,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
choco install mingw --x86 --force
|
choco install mingw --x86 --force
|
||||||
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 .\bin\*.dll
|
7z e ultralight.7z *.dll -r
|
||||||
- name: Test
|
- name: Test
|
||||||
env:
|
env:
|
||||||
GOARCH: 386
|
GOARCH: 386
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
run: |
|
run: |
|
||||||
go env
|
gcc --version
|
||||||
go test
|
go test
|
||||||
Linux_x64:
|
Linux_x64:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -51,7 +51,7 @@ jobs:
|
||||||
- name: Install Deps
|
- name: Install Deps
|
||||||
run: |
|
run: |
|
||||||
wget -O ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-linux-x64.7z
|
wget -O ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-linux-x64.7z
|
||||||
7z e ultralight.7z .\bin\*.so
|
7z e ultralight.7z *.so -r
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test
|
run: go test
|
||||||
Mac_x64:
|
Mac_x64:
|
||||||
|
@ -67,6 +67,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew install p7zip
|
brew install p7zip
|
||||||
wget -O ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-mac-x64.7z
|
wget -O ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-mac-x64.7z
|
||||||
7z e ultralight.7z .\bin\*.dylib
|
7z e ultralight.7z *.dylib -r
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test
|
run: go test
|
||||||
|
|
Loading…
Reference in New Issue