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
- name: Test
run: go test
Windows_x32:
runs-on: windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.13.x
- name: Checkout code
uses: actions/checkout@v1
- name: Install Deps
shell: pwsh
run: |
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
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
Expand-Archive -Path gcc.zip -DestinationPath C:/tdmgcc
7z e mingw.zip
7z x mingwrt-3.20-2-mingw32-dev.tar -o C:/tdmgcc
Invoke-WebRequest -OutFile ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-win-x86.7z
7z e ultralight.7z *.dll -r
- name: Test
env:
GOARCH: 386
CGO_ENABLED: 1
CC: C:/tdmgcc/bin/gcc.exe
run: |
go env
go test
# One day I'll get this working
# Windows_x32:
# runs-on: windows-latest
# steps:
# - name: Install Go
# uses: actions/setup-go@v1
# with:
# go-version: 1.13.x
# - name: Checkout code
# uses: actions/checkout@v1
# - name: Install Deps
# shell: pwsh
# run: |
# choco install mingw --x86 --force
# Invoke-WebRequest -OutFile ultralight.7z https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-latest-win-x86.7z
# 7z e ultralight.7z *.dll -r
# - name: Test
# env:
# GOARCH: 386
# CGO_ENABLED: 1
# run: |
# go test
Linux_x64:
runs-on: ubuntu-latest
steps: