Skip to content

Commit

Permalink
Fixes dir in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: jfedorov <julia.fedorova@intel.com>
  • Loading branch information
jfedorov committed Oct 27, 2023
1 parent 788874c commit 90b9230
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/sdk_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "master" ]

jobs:
build-and-test:
sdk-build-and-test:

runs-on: self-hosted

Expand All @@ -20,27 +20,30 @@ jobs:

- name: Build
run: |
cd sdk
cmake --preset default
cmake --build --preset default -j $(($(nproc)/2))
working-directory: sdk
- name: Test
run: ctest --output-on-failure --test-dir build
run: |
cd sdk
ctest --output-on-failure --test-dir build
- name: BuildSanitized
run: |
cd sdk
cmake --preset asan
cmake --build --preset asan --parallel $(($(nproc)/2))
working-directory: sdk
- name: BuildFuzz
run: |
# To ensure it still builds, run build for fuzz targets until we have
# proper fuzz testing infrastructure in place.
cd sdk
cmake --preset fuzz
cmake --build --preset fuzz --parallel $(($(nproc)/2))
working-directory: sdk
- name: TestSanitized
run: ctest --preset asan --output-on-failure -L samples
working-directory: sdk
run: |
cd sdk
ctest --preset asan --output-on-failure -L samples

0 comments on commit 90b9230

Please sign in to comment.