|
|
@ -499,11 +499,12 @@ jobs:
|
|
|
|
-o wasm3
|
|
|
|
-o wasm3
|
|
|
|
- name: Test
|
|
|
|
- name: Test
|
|
|
|
run: ./build/wasm3 ./test/wasi/test.wasm
|
|
|
|
run: ./build/wasm3 ./test/wasi/test.wasm
|
|
|
|
|
|
|
|
|
|
|
|
build-python:
|
|
|
|
build-python:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
python-version: [3.5, 3.6, 3.7, 3.8]
|
|
|
|
python-version: [ 3.5, 3.6, 3.7, 3.8 ]
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
@ -511,9 +512,11 @@ jobs:
|
|
|
|
uses: actions/setup-python@v1
|
|
|
|
uses: actions/setup-python@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Build python module
|
|
|
|
- name: Build Python module
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
pip install .
|
|
|
|
cd platforms/python
|
|
|
|
|
|
|
|
python setup.py sdist
|
|
|
|
|
|
|
|
pip install ./dist/wasm3-*.tar.gz
|
|
|
|
- name: Test with pytest
|
|
|
|
- name: Test with pytest
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
pip install pytest
|
|
|
|
pip install pytest
|
|
|
|