Skip to content

Commit 90b9230

Browse files
committed
Fixes dir in workflow
Signed-off-by: jfedorov <[email protected]>
1 parent 788874c commit 90b9230

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/sdk_build_and_test.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ "master" ]
88

99
jobs:
10-
build-and-test:
10+
sdk-build-and-test:
1111

1212
runs-on: self-hosted
1313

@@ -20,27 +20,30 @@ jobs:
2020

2121
- name: Build
2222
run: |
23+
cd sdk
2324
cmake --preset default
2425
cmake --build --preset default -j $(($(nproc)/2))
25-
working-directory: sdk
2626
2727
- name: Test
28-
run: ctest --output-on-failure --test-dir build
28+
run: |
29+
cd sdk
30+
ctest --output-on-failure --test-dir build
2931
3032
- name: BuildSanitized
3133
run: |
34+
cd sdk
3235
cmake --preset asan
3336
cmake --build --preset asan --parallel $(($(nproc)/2))
34-
working-directory: sdk
3537
3638
- name: BuildFuzz
3739
run: |
3840
# To ensure it still builds, run build for fuzz targets until we have
3941
# proper fuzz testing infrastructure in place.
42+
cd sdk
4043
cmake --preset fuzz
4144
cmake --build --preset fuzz --parallel $(($(nproc)/2))
42-
working-directory: sdk
4345
4446
- name: TestSanitized
45-
run: ctest --preset asan --output-on-failure -L samples
46-
working-directory: sdk
47+
run: |
48+
cd sdk
49+
ctest --preset asan --output-on-failure -L samples

0 commit comments

Comments
 (0)