Lines Matching +full:repo +full:- +full:path

6   group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
7 cancel-in-progress: true
10 clang-build:
11 if: github.repository_owner == 'zephyrproject-rtos'
12 runs-on:
13 group: zephyr-runner-v2-linux-x64-4xlarge
15 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.26.13.20240601
16 options: '--entrypoint /bin/bash'
18 fail-fast: false
22 CCACHE_DIR: /node-cache/ccache-zephyr
23 CCACHE_REMOTE_STORAGE: "redis://cache-*.keydb-cache.svc.cluster.local|shards=1,2,3"
25 LLVM_TOOLCHAIN_PATH: /usr/lib/llvm-16
31 - name: Apply container owner mismatch workaround
37 git config --global --add safe.directory ${GITHUB_WORKSPACE}
39 - name: Print cloud service information
45 - name: Clone cached Zephyr repository
46 continue-on-error: true
48 git clone --shared /repo-cache/zephyrproject/zephyr .
49 git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
51 - name: Checkout
55 fetch-depth: 0
56 persist-credentials: false
58 - name: Environment Setup
61 git config --global user.email "bot@zephyrproject.org"
62 git config --global user.name "Zephyr Bot"
63 rm -fr ".git/rebase-apply"
65 git log --pretty=oneline | head -n 10
66 west init -l . || true
67 west config --global update.narrow true
68 west config manifest.group-filter -- +ci,+optional
74--path-cache /repo-cache/zephyrproject 2>&1 1> west.log || west update --path-cache /repo-cache/ze…
76 … echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
78 - name: Check Environment
80 cmake --version
81 ${LLVM_TOOLCHAIN_PATH}/bin/clang --version
82 gcc --version
83 ls -la
85 - name: Set up ccache
87 mkdir -p ${CCACHE_DIR}
88 ccache -M 10G
89 ccache -p
90 ccache -z -s -vv
92 - name: Update BabbleSim to manifest revision
94 export BSIM_VERSION=$( west list bsim -f {revision} )
97 git fetch -n origin ${BSIM_VERSION}
98 git -c advice.detachedHead=false checkout ${BSIM_VERSION}
100 make everything -s -j 8
102 - name: Run Tests with Twister
109 … python3 ./scripts/ci/test_plan.py --platform ${{ matrix.platform }} -c origin/${BASE_REF}..
112 if [ -s testplan.json ]; then
115 … ./scripts/twister --force-color --inline-logs -M -N -v --load-tests testplan.json --retry-failed 2
121 - name: Print ccache stats
124 ccache -s -vv
126 - name: Upload Unit Test Results
128 uses: actions/upload-artifact@v4
131 path: twister-out/twister.xml
133 clang-build-results:
135 needs: clang-build
136 runs-on: ubuntu-22.04
137 if: (success() || failure() ) && needs.clang-build.outputs.report_needed != 0
139 - name: Download Artifacts
140 uses: actions/download-artifact@v4
142 path: artifacts
143 - name: Merge Test Results
147 junit2html junit.xml junit-clang.html
149 - name: Upload Unit Test Results in HTML
151 uses: actions/upload-artifact@v4
154 if-no-files-found: ignore
155 path: |
156 junit-clang.html
158 - name: Publish Unit Test Results
159 uses: EnricoMi/publish-unit-test-result-action@v2