mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
cosmopolitan updates, add to release
This commit is contained in:
parent
b65571b966
commit
86679d5a92
2 changed files with 24 additions and 2 deletions
20
.github/workflows/release.yaml
vendored
20
.github/workflows/release.yaml
vendored
|
|
@ -72,6 +72,26 @@ jobs:
|
|||
- run: gh release upload ${{ github.ref_name }} dist/vec0.dll
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
build-cosmopolitan:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
mkdir $HOME/cosmo
|
||||
curl -L -o cosmocc-$COSMO_VERSION.zip https://github.com/jart/cosmopolitan/releases/download/$COSMO_VERSION/cosmocc-$COSMO_VERSION.zip
|
||||
unzip cosmocc-$COSMO_VERSION.zip -d $HOME/cosmo
|
||||
env:
|
||||
COSMO_VERSION: "3.5.4"
|
||||
- run: ./scripts/vendor.sh
|
||||
- run: make cli CC=$HOME/cosmo/bin/cosmocc AR=$HOME/cosmo/bin/cosmoar OMIT_SIMD=1
|
||||
- run: tar -czvf sqlite-vec-$(cat VERSION)-cli-cosmopolitan.tar.gz dist/sqlite3
|
||||
- run: gh release upload ${{ github.ref_name }} sqlite-vec-$(cat VERSION)-cli-cosmopolitan.tar.gz
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sqlite-vec-cosmopolitan
|
||||
path: dist/*
|
||||
build-wasm32-emscripten:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
|
|
@ -95,8 +95,10 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
mkdir $HOME/cosmo
|
||||
curl -L -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
|
||||
curl -L -o cosmocc-$COSMO_VERSION.zip https://github.com/jart/cosmopolitan/releases/download/$COSMO_VERSION/cosmocc-$COSMO_VERSION.zip
|
||||
unzip cosmocc-$COSMO_VERSION.zip -d $HOME/cosmo
|
||||
env:
|
||||
COSMO_VERSION: "3.5.4"
|
||||
- run: ./scripts/vendor.sh
|
||||
- run: make cli CC=$HOME/cosmo/bin/cosmocc AR=$HOME/cosmo/bin/cosmoar OMIT_SIMD=1
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue