-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Max Rakitin
committed
Feb 2, 2024
1 parent
85a3a96
commit d13c357
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |