Skip to content

Commit d6dffb4

Browse files
authored
Update clang.yaml
1 parent f4d444b commit d6dffb4

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/clang.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
needs: clang-build-cancel
1616
container:
17-
image: zephyrprojectrtos/ci:v0.17.1
17+
image: zephyrprojectrtos/ci:v0.18.1
1818
options: '--entrypoint /bin/bash'
1919
strategy:
2020
fail-fast: false
@@ -38,30 +38,24 @@ jobs:
3838
with:
3939
ref: ${{ github.event.pull_request.head.sha }}
4040
fetch-depth: 0
41-
42-
- name: Set repo directory
43-
run: |
44-
# fix for the directory name (nrfconnect repo specific)
45-
current_dir=${PWD##*/}
46-
if [ ${current_dir} != "zephyr" ]
47-
then
48-
echo "curr dir ${current_dir} was not equal to zephyr"
49-
mv ../${current_dir} ../zephyr
50-
fi
41+
path: ./zephyr
5142

5243
- name: west setup
44+
working-directory: ./zephyr
5345
run: |
5446
west init -l . || true
5547
west update
5648
5749
- name: Check Environment
50+
working-directory: ./zephyr
5851
run: |
5952
cmake --version
6053
${CLANG_ROOT_DIR}/bin/clang --version
6154
gcc --version
6255
ls -la
6356
6457
- name: Run Tests with Twister
58+
working-directory: ./zephyr
6559
run: |
6660
#source zephyr-env.sh
6761
export ZEPHYR_BASE=${PWD}
@@ -73,7 +67,7 @@ jobs:
7367
uses: actions/upload-artifact@v2
7468
with:
7569
name: Unit Test Results (Subset ${{ matrix.subset }})
76-
path: twister-out/twister.xml
70+
path: zephyr/twister-out/twister.xml
7771

7872
publish-test-results:
7973
name: "Publish Unit Tests Results"

0 commit comments

Comments
 (0)