Skip to content

CI: add building workflow #1

CI: add building workflow

CI: add building workflow #1

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
run_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11.2
- run: |
set -vxeuo pipefail
pip install pyodide-build>=0.23.0
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
echo "EMSCRIPTEN_VERSION is $EMSCRIPTEN_VERSION"
- uses: mymindstorm/setup-emsdk@v12
with:
version: ${{ env.EMSCRIPTEN_VERSION }}
- run: |
set -vxeuo pipefail
git clone https://github.com/Pylons/paginate
cd paginate/
pyodide build
ls -la