Skip to content

Commit

Permalink
CI: add building workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Rakitin committed Feb 2, 2024
1 parent 85a3a96 commit d13c357
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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

0 comments on commit d13c357

Please sign in to comment.