github/workflows: Add new CI job to test unix port with GIL enabled.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
b6460df721
commit
b15065b95e
|
@ -160,6 +160,18 @@ jobs:
|
||||||
if: failure()
|
if: failure()
|
||||||
run: tests/run-tests.py --print-failures
|
run: tests/run-tests.py --print-failures
|
||||||
|
|
||||||
|
gil_enabled:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build
|
||||||
|
run: source tools/ci.sh && ci_unix_gil_enabled_build
|
||||||
|
- name: Run main test suite
|
||||||
|
run: source tools/ci.sh && ci_unix_gil_enabled_run_tests
|
||||||
|
- name: Print failures
|
||||||
|
if: failure()
|
||||||
|
run: tests/run-tests.py --print-failures
|
||||||
|
|
||||||
stackless_clang:
|
stackless_clang:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -707,6 +707,15 @@ function ci_unix_float_run_tests {
|
||||||
ci_unix_run_tests_helper CFLAGS_EXTRA="-DMICROPY_FLOAT_IMPL=MICROPY_FLOAT_IMPL_FLOAT"
|
ci_unix_run_tests_helper CFLAGS_EXTRA="-DMICROPY_FLOAT_IMPL=MICROPY_FLOAT_IMPL_FLOAT"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function ci_unix_gil_enabled_build {
|
||||||
|
ci_unix_build_helper VARIANT=standard MICROPY_PY_THREAD_GIL=1
|
||||||
|
ci_unix_build_ffi_lib_helper gcc
|
||||||
|
}
|
||||||
|
|
||||||
|
function ci_unix_gil_enabled_run_tests {
|
||||||
|
ci_unix_run_tests_full_helper standard MICROPY_PY_THREAD_GIL=1
|
||||||
|
}
|
||||||
|
|
||||||
function ci_unix_clang_setup {
|
function ci_unix_clang_setup {
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install clang
|
sudo apt-get install clang
|
||||||
|
|
Loading…
Reference in New Issue