Skip to content

Commit 46a258c

Browse files
committed
properly bootstrap cosmopolitan build
1 parent 94a77e8 commit 46a258c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ jobs:
104104

105105
- name: Build redbean
106106
run: |
107-
make -j$(nproc) o//tool/net/redbean
107+
sudo cp build/bootstrap/ape.elf /usr/bin/ape
108+
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
109+
make -j$(nproc) o//tool/net/redbean MODE=tiny
108110
mv o//tool/net/redbean lite-xl-playground.com
109111
110112
- name: Build cosmopolitan executable

0 commit comments

Comments
 (0)