all repos — hex @ 18ec48505199bf550e5724a5f819d12bd3e875da

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Fixes.
h3rald h3rald@h3rald.com
Thu, 05 Dec 2024 10:24:31 +0100
commit

18ec48505199bf550e5724a5f819d12bd3e875da

parent

7fadeb2289e663d7d44d69357dbaee01f3424f6c

1 files changed, 11 insertions(+), 1 deletions(-)

jump to
M .github/workflows/release.yml.github/workflows/release.yml

@@ -83,11 +83,21 @@ - name: Create artifact (Linux - WASM)

run: zip hex_${{steps.current-release.outputs.tag_name}}_wasm.zip hex.wasm hex.js if: matrix.os == 'ubuntu-latest' + # Add cosmocc to PATH + see https://redbean.dev/#install + - name: Add cosmocc to PATH + run: | + echo $HOME/cosmocc/bin >> $GITHUB_PATH + sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf + sudo chmod +x /usr/bin/ape + sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" + sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" + if: matrix.os == 'ubuntu-latest' + # Generate APE binary - name: Generate APE binary run: | mv hex hex.native - $HOME/cosmocc/bin/cosmocc -Wall -Wextra -g -o hex + make ape if: matrix.os == 'ubuntu-latest' # Package the resulting APE binary