Skip to content

Commit

Permalink
recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed May 23, 2024
1 parent 7f61c6c commit cc6e4a2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 28 deletions.
36 changes: 8 additions & 28 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand All @@ -24,6 +26,8 @@ jobs:
runs-on: macos-11
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: ./scripts/vendor.sh
- run: make loadable
- run: /usr/local/opt/python@3/libexec/bin/python -m pip install pytest numpy; make test-loadable python=/usr/local/opt/python@3/libexec/bin/python
Expand All @@ -35,6 +39,8 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: ./scripts/vendor.sh
- run: make loadable
- run: /opt/homebrew/opt/python3/libexec/bin/python -m pip install pytest numpy --break-system-packages; make test-loadable python=/opt/homebrew/opt/python3/libexec/bin/python
Expand All @@ -46,6 +52,8 @@ jobs:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand All @@ -57,31 +65,3 @@ jobs:
with:
name: sqlite-lembed-windows-x86_64-extension
path: dist/*
build-wasm32-emscripten:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mymindstorm/setup-emsdk@v12
with:
version: "latest"
- run: ./scripts/vendor.sh
- run: make sqlite-lembed.h
- run: make wasm
- uses: actions/upload-artifact@v4
with:
name: sqlite-lembed-wasm32-emscripten
path: dist/*
build-cosmopolitan:
runs-on: macos-latest
steps:
- 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
- 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
with:
name: sqlite-lembed-cosmopolitan
path: dist/*
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,6 @@ sqlite-lembed.h: sqlite-lembed.h.tmpl VERSION
DATE=$(shell date -r VERSION +'%FT%TZ%z') \
SOURCE=$(shell git log -n 1 --pretty=format:%H -- VERSION) \
envsubst < $< > $@

test-loadable:
echo 4

0 comments on commit cc6e4a2

Please sign in to comment.