Skip to content

Commit

Permalink
Add 386 build
Browse files Browse the repository at this point in the history
  • Loading branch information
amacneil committed Mar 1, 2023
1 parent 80d8791 commit 2b154e2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
include:
- os: linux
image: ubuntu-latest
arch: amd64
env: {}
arch: 386
setup: sudo apt-get update && sudo apt-get install -qq gcc-i686-linux-gnu
env:
CC: i686-linux-gnu-gcc
CXX: i686-linux-gnu-g++
- os: linux
image: ubuntu-latest
arch: arm64
setup: sudo apt-get update && sudo apt-get install -qq gcc-aarch64-linux-gnu
env:
CC: aarch64-linux-gnu-gcc
CXX: aarch64-linux-gnu-g++
arch: amd64
env: {}
- os: linux
image: ubuntu-latest
arch: arm
Expand All @@ -31,6 +31,13 @@ jobs:
CC: arm-linux-gnueabihf-gcc
CXX: arm-linux-gnueabihf-g++
GOARM: 7
- os: linux
image: ubuntu-latest
arch: arm64
setup: sudo apt-get update && sudo apt-get install -qq gcc-aarch64-linux-gnu
env:
CC: aarch64-linux-gnu-gcc
CXX: aarch64-linux-gnu-g++
- os: macos
image: macos-latest
arch: amd64
Expand Down Expand Up @@ -159,7 +166,7 @@ jobs:
with:
context: .
target: release
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
1 change: 1 addition & 0 deletions typescript/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const OS_MAP: Record<string, string> = {

// map GOARCH to NPM
const ARCH_MAP: Record<string, string> = {
386: "ia32",
amd64: "x64",
arm: "arm",
arm64: "arm64",
Expand Down

0 comments on commit 2b154e2

Please sign in to comment.