Skip to content

Commit d391fd2

Browse files
committed
Add Linux 32bit and Cosmopolitan CI
1 parent 9f1864a commit d391fd2

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/ci.yml

+42
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,25 @@ jobs:
3737
run: |
3838
make microbench
3939
40+
linux-32bit:
41+
name: Linux 32bit (Ubuntu)
42+
runs-on: ubuntu-latest
43+
strategy:
44+
fail-fast: false
45+
steps:
46+
- uses: actions/checkout@v4
47+
with:
48+
submodules: true
49+
- name: Install gcc-multilib
50+
run: |
51+
sudo apt install -y gcc-multilib
52+
- name: Build
53+
run: |
54+
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_M32=y
55+
- name: Run built-in tests
56+
run: |
57+
make CONFIG_M32=y test
58+
4059
linux-asan:
4160
runs-on: ubuntu-latest
4261
steps:
@@ -142,6 +161,29 @@ jobs:
142161
./qjs -qd
143162
gmake test
144163
164+
cosmopolitan:
165+
name: Cosmopolitan
166+
runs-on: ubuntu-latest
167+
strategy:
168+
fail-fast: false
169+
steps:
170+
- uses: actions/checkout@v4
171+
with:
172+
submodules: true
173+
- name: Install Cosmopolitan
174+
run: |
175+
mkdir ~/cosmocc
176+
cd ~/cosmocc
177+
wget https://cosmo.zip/pub/cosmocc/cosmocc.zip
178+
unzip cosmocc.zip
179+
echo "$HOME/cosmocc/bin" >> "$GITHUB_PATH"
180+
- name: Build
181+
run: |
182+
make CONFIG_COSMO=y
183+
- name: Run built-in tests
184+
run: |
185+
make CONFIG_COSMO=y test
186+
145187
qemu-alpine:
146188
runs-on: ubuntu-latest
147189

0 commit comments

Comments
 (0)