diff options
author | Damien George <damien@micropython.org> | 2021-07-13 15:58:04 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-07-13 15:58:39 +1000 |
commit | 0ee256b8b163863d065e6fe203bc384772694075 (patch) | |
tree | 6cec3008637f4eed049f29e2fc2f2145bc2b22d2 | |
parent | 240888a0d2caa2e8ac8518c7ce0743ddec7e2a84 (diff) |
github/workflows: Add workflow to build and test unix dev variant.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r-- | .github/workflows/ports_unix.yml | 12 | ||||
-rwxr-xr-x | tools/ci.sh | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/ports_unix.yml b/.github/workflows/ports_unix.yml index 673e6152f..0e6a98f6b 100644 --- a/.github/workflows/ports_unix.yml +++ b/.github/workflows/ports_unix.yml @@ -51,6 +51,18 @@ jobs: if: failure() run: tests/run-tests.py --print-failures + dev: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build + run: source tools/ci.sh && ci_unix_dev_build + - name: Run main test suite + run: source tools/ci.sh && ci_unix_dev_run_tests + - name: Print failures + if: failure() + run: tests/run-tests.py --print-failures + coverage: runs-on: ubuntu-latest steps: diff --git a/tools/ci.sh b/tools/ci.sh index ec122129d..815e72875 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -393,6 +393,14 @@ function ci_unix_standard_run_perfbench { (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython ./run-perfbench.py 1000 1000) } +function ci_unix_dev_build { + ci_unix_build_helper VARIANT=dev +} + +function ci_unix_dev_run_tests { + ci_unix_run_tests_helper VARIANT=dev +} + function ci_unix_coverage_setup { sudo pip3 install setuptools sudo pip3 install pyelftools |