cosmocc support

This commit is contained in:
Alex Garcia 2024-05-23 11:15:30 -07:00
parent 0a5dcae4c8
commit 0af4e1eaed
3 changed files with 35 additions and 16 deletions

View file

@ -71,3 +71,18 @@ jobs:
with:
name: sqlite-vec-wasm32-emscripten
path: dist/*
build-cosmopolitan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir $HOME/cosmo
curl -o cosmocc-3.3.6.zip https://github.com/jart/cosmopolitan/releases/download/3.3.6/cosmocc-3.3.6.zip
unzip cosmocc-3.3.6.zip -d $HOME/cosmo
echo "$HOME/cosmo/bin" >> $GITHUB_PATH
- run: ./scripts/vendor.sh
- run: make cli CC=cosmocc AR=cosmoar OMIT_SIMD=1
- uses: actions/upload-artifact@v4
with:
name: sqlite-vec-cosmopolitan
path: dist/*