Lines Matching +full:all +full:- +full:outputs
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: zephyr-runner-linux-x64-4xlarge
14 image: ghcr.io/zephyrproject-rtos/ci:v0.26.5
15 options: '--entrypoint /bin/bash'
17 - /repo-cache/zephyrproject:/github/cache/zephyrproject
19 fail-fast: false
23 ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.3
24 LLVM_TOOLCHAIN_PATH: /usr/lib/llvm-16
27 outputs:
28 report_needed: ${{ steps.twister.outputs.report_needed }}
30 - name: Apply container owner mismatch workaround
36 git config --global --add safe.directory ${GITHUB_WORKSPACE}
38 - name: Clone cached Zephyr repository
39 continue-on-error: true
41 git clone --shared /github/cache/zephyrproject/zephyr .
42 git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
44 - name: Checkout
48 fetch-depth: 0
49 persist-credentials: false
51 - name: Environment Setup
54 git config --global user.email "bot@zephyrproject.org"
55 git config --global user.name "Zephyr Bot"
56 rm -fr ".git/rebase-apply"
58 git log --pretty=oneline | head -n 10
59 west init -l . || true
60 west config --global update.narrow true
61 west config manifest.group-filter -- +ci,+optional
64 # So first retry to update, if that does not work, remove all modules
67 …--path-cache /github/cache/zephyrproject 2>&1 1> west.log || west update --path-cache /github/cach…
69 - name: Check Environment
71 cmake --version
72 ${LLVM_TOOLCHAIN_PATH}/bin/clang --version
73 gcc --version
74 ls -la
76 - name: Prepare ccache timestamp/data
78 shell: cmake -P {0}
80 string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
82 string(REPLACE "-" "_" repo2 ${repo})
85 - name: use cache
86 id: cache-ccache
87 uses: zephyrproject-rtos/action-s3-cache@v1.2.0
89 …key: ${{ steps.ccache_cache_timestamp.outputs.repo }}-${{ github.ref_name }}-clang-${{ matrix.plat…
91 aws-s3-bucket: ccache.zephyrproject.org
92 aws-access-key-id: ${{ vars.AWS_CCACHE_ACCESS_KEY_ID }}
93 aws-secret-access-key: ${{ secrets.AWS_CCACHE_SECRET_ACCESS_KEY }}
94 aws-region: us-east-2
96 - name: ccache stats initial
98 mkdir -p /github/home/.cache
99 …test -d github/home/.cache/ccache && rm -rf /github/home/.cache/ccache && mv github/home/.cache/cc…
100 ccache -M 10G -s
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: ccache stats post
123 ccache -s
124 ccache -p
126 - name: Upload Unit Test Results
127 if: always() && steps.twister.outputs.report_needed != 0
128 uses: actions/upload-artifact@v3
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@v3
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@v3
154 if-no-files-found: ignore
156 junit-clang.html
158 - name: Publish Unit Test Results
159 uses: EnricoMi/publish-unit-test-result-action@v2