2022-08-19 09:58:58 -04:00
|
|
|
name: webassembly port
|
2021-06-23 20:09:57 -04:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/workflows/*.yml'
|
|
|
|
- 'tools/**'
|
|
|
|
- 'py/**'
|
|
|
|
- 'extmod/**'
|
|
|
|
- 'lib/**'
|
2022-08-19 09:58:58 -04:00
|
|
|
- 'ports/webassembly/**'
|
2021-06-23 20:09:57 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install packages
|
2022-08-19 09:58:58 -04:00
|
|
|
run: source tools/ci.sh && ci_webassembly_setup
|
2021-06-23 20:09:57 -04:00
|
|
|
- name: Build
|
2022-08-19 09:58:58 -04:00
|
|
|
run: source tools/ci.sh && ci_webassembly_build
|
2021-06-23 20:09:57 -04:00
|
|
|
- name: Run tests
|
2022-08-19 09:58:58 -04:00
|
|
|
run: source tools/ci.sh && ci_webassembly_run_tests
|