x86 has defeated me

This commit is contained in:
V-X 2019-10-19 13:53:42 -05:00 committed by GitHub
parent 35c3736bb0
commit a354c5cc6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 27 deletions

View File

@ -17,33 +17,28 @@ jobs:
7z e ultralight.7z *.dll -r 7z e ultralight.7z *.dll -r
- name: Test - name: Test
run: go test run: go test
Windows_x32: # One day I'll get this working
runs-on: windows-latest # Windows_x32:
steps: # runs-on: windows-latest
- name: Install Go # steps:
uses: actions/setup-go@v1 # - name: Install Go
with: # uses: actions/setup-go@v1
go-version: 1.13.x # with:
- name: Checkout code # go-version: 1.13.x
uses: actions/checkout@v1 # - name: Checkout code
- name: Install Deps # uses: actions/checkout@v1
shell: pwsh # - name: Install Deps
run: | # shell: pwsh
Invoke-WebRequest -OutFile gcc.zip https://managedway.dl.sourceforge.net/project/tdm-gcc/TDM-GCC%205%20series/5.1.0-tdm-1%20SJLJ/gcc-5.1.0-tdm-1-core.zip # run: |
Invoke-WebRequest -OutFile mingw.zip https://versaweb.dl.sourceforge.net/project/mingw/MinGW/Base/mingwrt/mingwrt-3.20/mingwrt-3.20-2-mingw32-dev.tar.lzma # choco install mingw --x86 --force
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
7z e mingw.zip # 7z e ultralight.7z *.dll -r
7z x mingwrt-3.20-2-mingw32-dev.tar -o C:/tdmgcc # - name: Test
Invoke-WebRequest -OutFile ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-win-x86.7z # env:
7z e ultralight.7z *.dll -r # GOARCH: 386
- name: Test # CGO_ENABLED: 1
env: # run: |
GOARCH: 386 # go test
CGO_ENABLED: 1
CC: C:/tdmgcc/bin/gcc.exe
run: |
go env
go test
Linux_x64: Linux_x64:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: