[ci] Add CI jobs to run GCC env tests.
@@ -252,20 +252,55 @@ jobs:
with:
fail_ci_if_error: true
verbose: true
+ test-gcc-env-linux-no-docker:
+ needs: build-linux
+ runs-on: ubuntu-latest
+ steps:
+ - name: Stop docker
+ run: |
+ docker ps -q | xargs --no-run-if-empty sudo docker kill
+ sudo systemctl stop docker
+
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.9
+
+ - uses: actions/checkout@v2
+
+ - name: Download Python wheel
+ uses: actions/download-artifact@v2
+ with:
+ name: linux-wheel
+
+ - name: Install wheel
+ run: python -m pip install *.whl
+
+ - name: Install runtime dependencies
+ uses: ./.github/actions/install-runtime-dependencies
+
+ - name: Install test dependencies
+ run: python -m pip install -r tests/requirements.txt
+
+ - name: Run the test suite
+ run: make install-test-cov TEST_TARGET="tests/gcc"
+
+ - name: Upload coverage report to Codecov
+ uses: codecov/codecov-action@v2
+ with:
+ fail_ci_if_error: true
+ verbose: true
+
test-gcc-env-macos:
needs: build-macos
runs-on: macos-latest
- strategy:
- fail-fast: false
- matrix:
- python: [3.9]
steps:
- uses: actions/checkout@v2
- - name: Set up Python ${{ matrix.python }}
+ - name: Set up Python
uses: actions/setup-python@v2
with:
- python-version: ${{ matrix.python }}
+ python-version: 3.9
- name: Download Python wheel
uses: actions/download-artifact@v2
@@ -289,6 +324,44 @@ jobs:
with:
fail_ci_if_error: true
verbose: true
+
+ test-gcc-env-macos-no-docker:
+ needs: build-macos
+ runs-on: macos-latest
+ steps:
+ - name: Stop Docker
+ run: killall Docker
+
+ - uses: actions/checkout@v2
+
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.9
+
+ - name: Download Python wheel
+ uses: actions/download-artifact@v2
+ with:
+ name: macos-wheel
+
+ - name: Install wheel
+ run: python -m pip install *.whl
+
+ - name: Install runtime dependencies
+ uses: ./.github/actions/install-runtime-dependencies
+
+ - name: Install test dependencies
+ run: python -m pip install -r tests/requirements.txt
+
+ - name: Run the test suite
+ run: make install-test-cov TEST_TARGET="tests/gcc"
+
+ - name: Upload coverage report to Codecov
+ uses: codecov/codecov-action@v2
+ with:
+ fail_ci_if_error: true
+ verbose: true
+
test-examples-linux:
needs: build-linux
runs-on: ubuntu-latest
