Skip to content

Commit 707804d

Browse files
committed
Add 32-bit builds on GitHub CI
1 parent 71fef04 commit 707804d

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/workflows/build.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616

1717
jobs:
1818
build:
19+
name: Build (64-bit)
1920
runs-on: ${{ matrix.os }}
2021
strategy:
2122
matrix:
@@ -52,3 +53,56 @@ jobs:
5253
- name: Test and Check Binary Compatibility
5354
run: "sbt -batch +test +mimaReportBinaryIssues"
5455
shell: bash
56+
57+
build-armv7:
58+
name: Build (32-bit, armv7)
59+
runs-on: ubuntu-22.04
60+
strategy:
61+
matrix:
62+
java: [17, 21]
63+
steps:
64+
- uses: actions/checkout@v4
65+
with:
66+
fetch-depth: 300
67+
- name: Fetch tags
68+
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
69+
- uses: uraimo/run-on-arch-action@v2
70+
with:
71+
arch: armv7
72+
distro: ubuntu22.04
73+
install: |
74+
apt-get update
75+
apt-get install -y curl git openjdk-${{ matrix.java }}-jdk nodejs npm
76+
run: |
77+
git config --global core.autocrlf false
78+
curl -fsL -o coursier.jar https://github.com/coursier/coursier/releases/latest/download/coursier.jar
79+
java -jar coursier.jar setup
80+
npm install -g npm@latest
81+
sbt -batch +test +mimaReportBinaryIssues
82+
83+
build-i386:
84+
name: Build (32-bit, i386)
85+
runs-on: ubuntu-22.04
86+
strategy:
87+
matrix:
88+
java: [17, 21]
89+
steps:
90+
- uses: actions/checkout@v4
91+
with:
92+
fetch-depth: 300
93+
- name: Fetch tags
94+
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
95+
- uses: uraimo/run-on-arch-action@v2
96+
with:
97+
arch: i386
98+
distro: debian11
99+
install: |
100+
dpkg --add-architecture i386
101+
apt-get update
102+
apt-get install -y curl git openjdk-${{ matrix.java }}-jdk:i386 nodejs npm
103+
run: |
104+
git config --global core.autocrlf false
105+
curl -fsL -o coursier.jar https://github.com/coursier/coursier/releases/latest/download/coursier.jar
106+
java -jar coursier.jar setup
107+
npm install -g npm@latest
108+
sbt -batch +test +mimaReportBinaryIssues

0 commit comments

Comments
 (0)