Skip to content

Commit

Permalink
add 32 bits DLL support
Browse files Browse the repository at this point in the history
  • Loading branch information
lmbsog0 committed Feb 10, 2024
1 parent e73265d commit 34787dc
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,34 @@ jobs:
path: |
*.so
*.h
build-windows:
build-windows-32:
runs-on: windows-2019
needs:
- test-linux
- test-windows
- test-mac
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: antlr4
path: pkg/a2l/parser
- uses: actions/download-artifact@v3
with:
name: grpc
path: pkg/a2l
- run: |
go get github.com/antlr4-go/antlr/v4
$env:GOARCH=386
$env:CGO_ENABLED=1
go build --buildmode=c-shared -o a2l_grpc_$(go env GOOS)_$(go env GOARCH).dll ./cmd/a2l/a2l.go
- uses: actions/upload-artifact@v3
with:
name: windows
path: |
*.dll
*.h
build-windows-64:
runs-on: windows-2019
needs:
- test-linux
Expand Down Expand Up @@ -177,7 +204,8 @@ jobs:
contents: write
needs:
- build-linux
- build-windows
- build-windows-32
- build-windows-64
- build-mac
- export-protobuf-definitions
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 34787dc

Please sign in to comment.