rebuilt to 2bi #165
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
name: CI | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
env: | |
SDK_VERSION: 3.1.46.2bi | |
SYS_PYTHON: /usr/bin/python3 | |
PACKAGES: emsdk hpy _ctypes pygame | |
BUILD_STATIC: emsdk _ctypes hpy | |
STATIC: false | |
BUILDS: 3.11 3.12 | |
CYTHON: Cython-3.0.1-py2.py3-none-any.whl | |
LD_VENDOR: -sUSE_GLFW=3 | |
steps: | |
- uses: actions/[email protected] | |
- name: pygame-wasm-builder prepare | |
run: | | |
pwd | |
echo | |
python3 -V | |
echo | |
clang --version | head -n 1 | |
echo | |
gcc --version | head -n 1 | |
echo | |
echo CI=$CI | |
echo | |
env|grep GITHUB | |
echo | |
env|grep ANDROID | |
echo | |
sudo apt-get update 2>&1 >/dev/null | |
sudo apt-get install -y bash git curl wget lz4 pv 2>&1 >/dev/null | |
- name: build 3.11 packages | |
run: | | |
cd $GITHUB_WORKSPACE | |
PYBUILD=3.11 bash ./scripts/build-pkg.sh | |
- name: build 3.11 loader | |
run: | | |
cd $GITHUB_WORKSPACE | |
PYBUILD=3.11 bash ./scripts/build-loader.sh | |
- name: build 3.12 packages | |
run: | | |
cd $GITHUB_WORKSPACE | |
PYBUILD=3.12 bash ./scripts/build-pkg.sh | |
- name: build 3.12 loader | |
run: | | |
cd $GITHUB_WORKSPACE | |
PYBUILD=3.12 bash ./scripts/build-loader.sh | |
- name: publishing | |
run: | | |
cd $GITHUB_WORKSPACE | |
echo "<html></html>" > build/web/archives/index.html | |
- name : "Upload to GitHub pages" | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: build/web/archives | |