Skip to content

3.1.72.2

3.1.72.2 #394

Workflow file for this run

name: CI
on:
workflow_dispatch:
release:
# this runs CI only when a release is created at first (and not when it is
# edited or published)
types: [created]
push:
branches: main
pull_request:
branches: main
jobs:
build:
runs-on: ubuntu-22.04
env:
BUILDS: 3.12 3.13
SDKROOT: /opt/python-wasm-sdk
EMFLAVOUR: latest
Py_GIL_DISABLED: false
wasisdk: true
gosdk: false
rustsdk: false
nimsdk: false
steps:
- uses: actions/[email protected]
- name: Display CI properties
run: |
WD=$(pwd)
python3 -V
echo $WD
clang --version | head -n 1
echo
gcc --version | head -n 1
echo "Github env:"
env|grep GITHUB
echo "Android support:"
env|grep ANDROID
- name: Install dependencies
run: |
sudo apt-get update --fix-missing
# git clang libffi-dev libssl-dev zlib1g-dev pkg-config libncursesw5-dev python3-pip make
sudo apt-get install -y bash patchelf wget lz4
- name: Build sdk
run: |
chmod +x ./python-wasm-sdk.sh
bash -c "./python-wasm-sdk.sh"
- name: Upload sdk to Github artifacts
uses: actions/[email protected]
with:
path: /tmp/sdk
- name: Upload sdk to Github Releases
if: github.event_name == 'release'
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /tmp/sdk/*
file_glob: true
tag: ${{ github.ref }}