Skip to content

Commit

Permalink
Update actions, EMSDK 3.1.24 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran authored Oct 18, 2022
1 parent d2bd8d3 commit 62dc62b
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/actions/common_setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
*) echo "PYTHON_NAME=$PYTHON_VERSION" >> $GITHUB_ENV;;
esac
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@v1
uses: hendrikmuhs/ccache-action@v1.2
with:
key: py${{ inputs.python_version }}-${{ inputs.cache_suffix }}
- name: Checkout CPython
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/package_emscripten/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ runs:
set -ex
zip -9 -r -v $RELEASE_ZIP $RELEASE_NAME
- name: "Upload Emscripten artifacts"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.RELEASE_NAME }}
retention-days: 7
path: ${{ env.RELEASE_BASE }}/**
if-no-files-found: error
- name: "Upload build artifacts"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build-emscripten-${{ inputs.flavor }}_py${{ env.PYTHON_NAME }}_emsdk-${{ inputs.emsdk_version }}
retention-days: 7
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/package_wasi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ runs:
set -ex
zip -9 -r -v $HOME/${RELEASE_NAME}.zip $RELEASE_NAME
- name: "Upload WASI artifacts"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.RELEASE_NAME }}
retention-days: 7
path: ${{ env.RELEASE_BASE }}/**
if-no-files-found: error
- name: "Upload build artifacts"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build-wasi_py${{ env.PYTHON_NAME }}_wasisdk-${{ inputs.wasisdk_version }}
retention-days: 7
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/emsdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
emsdk_version:
# latest == 3.1.22 passes all tests
# latest == 3.1.24 passes all tests
- latest
# tot is tip-of-tree
- tot-upstream
Expand All @@ -39,7 +39,7 @@ jobs:
- flavor: wasm64-node
python_version: 3.11
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Clone and build 'build' Python ${{ matrix.python_version }}"
uses: ./.github/actions/common_setup
id: common
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
description: "Python release tag"
emsdk_version:
required: true
default: "3.1.22"
default: "3.1.24"
description: "Emscripten SDK version"
wasisdk_version:
required: true
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
runs-on: "ubuntu-latest"
needs: create_release
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Clone and build 'build' Python ${{ inputs.python_tag }}"
uses: ./.github/actions/common_setup
id: common
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
- node-dl-debug
- node-pthreads
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Clone and build 'build' Python ${{ inputs.python_tag }}"
uses: ./.github/actions/common_setup
id: common
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- "3.11"
- "main"
wasmtime_version:
- "v1.0.0"
- "v1.0.1"
- "latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Clone and build 'build' Python ${{ matrix.python_version }}"
uses: ./.github/actions/common_setup
id: common
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,29 @@ The `emsdk-tot-upstream` builds are using Emscripte tip-of-tree (nightlies).

### Emscripten browser target

- `Python-3.11dev-wasm32-emscripten-3.1.19-browser`: Python 3.11 branch, Emscripten SDK 3.1.19
- `Python-3.11dev-wasm32-emscripten-3.1.19-browser-debug`: Python 3.11 branch,
Emscripten SDK 3.1.19, debug build with additional symbols and fewer
- `Python-3.11dev-wasm32-emscripten-3.1.24-browser`: Python 3.11 branch, Emscripten SDK 3.1.24
- `Python-3.11dev-wasm32-emscripten-3.1.24-browser-debug`: Python 3.11 branch,
Emscripten SDK 3.1.24, debug build with additional symbols and fewer
optimizations
- `Python-3.11dev-wasm32-emscripten-3.1.19-browser`: Python main branch (3.12), Emscripten SDK 3.1.19
- `Python-3.11dev-wasm32-emscripten-3.1.24-browser`: Python main branch (3.12), Emscripten SDK 3.1.24

The files must be served from a web server. You can use the
`./wasm_webserver.py` script to run a local web server and
access the browser REPL from http://localhost:8000/python.html

### Emscripte NodeJS target

- `Python-3.11dev-wasm32-emscripten-3.1.19-node-dl`: WASM dynamic linking, Python
3.11 branch, Emscripten SDK 3.1.19
- `Python-3.11dev-wasm32-emscripten-3.1.19-node-dl-debug`: WASM dynamic linking, Python
3.11 branch, Emscripten SDK 3.1.19, debug build with additional debug symbols and fewer
- `Python-3.11dev-wasm32-emscripten-3.1.24-node-dl`: WASM dynamic linking, Python
3.11 branch, Emscripten SDK 3.1.24
- `Python-3.11dev-wasm32-emscripten-3.1.24-node-dl-debug`: WASM dynamic linking, Python
3.11 branch, Emscripten SDK 3.1.24, debug build with additional debug symbols and fewer
optimizations
- `Python-3.12dev-wasm32-emscripten-3.1.19-node-dl`: WASM dynamic linking, Python
main branch (3.12), Emscripten SDK 3.1.19
- `Python-3.11dev-wasm32-emscripten-3.1.19-node-pthreads`: WASM pthreads emulation,
Python 3.11 branch, Emscripten SDK 3.1.19
- `Python-3.12dev-wasm32-emscripten-3.1.19-node-pthreads`: WASM pthreads emulation,
Python main branch (3.12), Emscripten SDK 3.1.19
- `Python-3.12dev-wasm32-emscripten-3.1.24-node-dl`: WASM dynamic linking, Python
main branch (3.12), Emscripten SDK 3.1.24
- `Python-3.11dev-wasm32-emscripten-3.1.24-node-pthreads`: WASM pthreads emulation,
Python 3.11 branch, Emscripten SDK 3.1.24
- `Python-3.12dev-wasm32-emscripten-3.1.24-node-pthreads`: WASM pthreads emulation,
Python main branch (3.12), Emscripten SDK 3.1.24
- `Python-3.12dev-wasm64-emscripten-tot-upstream-node`: wasm64-emscripten (MEMORY64),
Python main branch (3.12), Emscripten SDK tip-of-tree.

Expand Down

0 comments on commit 62dc62b

Please sign in to comment.