Skip to content

Commit

Permalink
Makes PTI job run always (#26)
Browse files Browse the repository at this point in the history
* Makes PTI job run always

Signed-off-by: jfedorov <julia.fedorova@intel.com>

* Makes PTI job continue on error

Signed-off-by: jfedorov <julia.fedorova@intel.com>

* Makes SDK job steps continue on error

Signed-off-by: jfedorov <julia.fedorova@intel.com>

---------

Signed-off-by: jfedorov <julia.fedorova@intel.com>
  • Loading branch information
jfedorov authored Nov 30, 2023
1 parent eef4d6d commit 97cba55
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/sdk_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ jobs:
ctest --output-on-failure --test-dir build
- name: BuildSanitized
if: always()
run: |
cd sdk
cmake --preset asan
cmake --build --preset asan --parallel $(($(nproc)/2))
- name: BuildFuzz
if: always()
run: |
# To ensure it still builds, run build for fuzz targets until we have
# proper fuzz testing infrastructure in place.
Expand All @@ -45,17 +47,20 @@ jobs:
cmake --build --preset fuzz --parallel $(($(nproc)/2))
- name: TestSanitized
if: always()
run: |
cd sdk
ctest --preset asan --output-on-failure -L samples
pti-tools-build-and-test:

needs: sdk-build-and-test # this is a workaround to ensure tests setup to pass on this runner
needs: sdk-build-and-test # this is a workaround to ensure jobs run sequentially
# TODO make the workflow more generic

if: github.repository != 'intel/pti-gpu' # no run externally due to no required HW
# run this job only if the previous one run and provided some result
if: (needs.sdk-build-and-test.result == 'success' || needs.sdk-build-and-test.result == 'failure' )

runs-on: self-hosted

steps:
Expand Down

0 comments on commit 97cba55

Please sign in to comment.