Lines Matching +full:frozen +full:- +full:requirements

6       - main
7 - v*-branch
8 - collab-*
11 - main
12 - v*-branch
13 - collab-*
16 - cron: '0 17 * * 6'
19 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
20 cancel-in-progress: true
23 twister-build-prep:
24 uses: ./.github/workflows/twister-prep.yaml
26 twister-build:
27 runs-on:
28 group: zephyr-runner-v2-linux-x64-4xlarge
29 needs: twister-build-prep
30 if: needs.twister-build-prep.outputs.size != 0
32 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
33 options: '--entrypoint /bin/bash'
35 fail-fast: false
37 subset: ${{fromJSON(needs.twister-build-prep.outputs.subset)}}
38 timeout-minutes: 1440
40 CCACHE_DIR: /node-cache/ccache-zephyr
41 CCACHE_REMOTE_STORAGE: "redis://cache-*.keydb-cache.svc.cluster.local|shards=1,2,3"
43 # `--specs` is ignored because ccache is unable to resolve the toolchain specs file path.
44 CCACHE_IGNOREOPTIONS: '-specs=* --specs=*'
47 …TWISTER_COMMON: '--no-detailed-test-id --force-color --inline-logs -v -N -M --retry-failed 3 --tim…
48 WEEKLY_OPTIONS: ' -M --build-only --all --show-footprint --report-filtered'
49 PR_OPTIONS: ' --clobber-output --integration'
50 PUSH_OPTIONS: ' --clobber-output -M --show-footprint --report-filtered'
53 LLVM_TOOLCHAIN_PATH: /usr/lib/llvm-16
55 - name: Print cloud service information
61 - name: Apply container owner mismatch workaround
67 git config --global --add safe.directory ${GITHUB_WORKSPACE}
69 - name: Clone cached Zephyr repository
70 continue-on-error: true
72 git clone --shared /repo-cache/zephyrproject/zephyr .
73 git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
75 - name: Checkout
79 fetch-depth: 0
80 persist-credentials: false
82 - name: Environment Setup
85 git config --global user.email "bot@zephyrproject.org"
86 git config --global user.name "Zephyr Builder"
87 rm -fr ".git/rebase-apply"
88 rm -fr ".git/rebase-merge"
90 git clean -f -d
91 git log --pretty=oneline | head -n 10
96 west init -l . || true
97 west config manifest.group-filter -- +ci,+optional
98 west config --global update.narrow true
99--path-cache /repo-cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /repo-c…
100 west forall -c 'git reset --hard HEAD'
102 … echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
104 - name: Check Environment
106 cmake --version
107 gcc --version
108 cargo --version
109 rustup target list --installed
110 ls -la
115 - name: Set up ccache
117 mkdir -p ${CCACHE_DIR}
118 ccache -M 10G
119 ccache -p
120 ccache -z -s -vv
122 - name: Update BabbleSim to manifest revision
124 export BSIM_VERSION=$( west list bsim -f {revision} )
127 git fetch -n origin ${BSIM_VERSION}
128 git -c advice.detachedHead=false checkout ${BSIM_VERSION}
130 make everything -s -j 8
132 - if: github.event_name == 'push'
138 …./scripts/twister --subset ${{matrix.subset}}/${{ strategy.job-total }} ${TWISTER_COMMON} ${PUSH_O…
140 ./scripts/zephyr_module.py --twister-out module_tests.args
141 if [ -s module_tests.args ]; then
142 … ./scripts/twister +module_tests.args --outdir module_tests ${TWISTER_COMMON} ${PUSH_OPTIONS}
146 - if: github.event_name == 'pull_request_target'
150 rm -f testplan.json
153 … python3 ./scripts/ci/test_plan.py -c origin/${BASE_REF}.. --pull-request --no-detailed-test-id
154 …./scripts/twister --subset ${{matrix.subset}}/${{ strategy.job-total }} --load-tests testplan.json…
155 … if [ "${{matrix.subset}}" = "1" -a ${{needs.twister-build-prep.outputs.fullrun}} = 'True' ]; then
156 ./scripts/zephyr_module.py --twister-out module_tests.args
157 if [ -s module_tests.args ]; then
158 … ./scripts/twister +module_tests.args --outdir module_tests ${TWISTER_COMMON} ${PR_OPTIONS}
162 - if: github.event_name == 'schedule'
168 …./scripts/twister --subset ${{matrix.subset}}/${{ strategy.job-total }} ${TWISTER_COMMON} ${WEEKLY…
170 ./scripts/zephyr_module.py --twister-out module_tests.args
171 if [ -s module_tests.args ]; then
172 … ./scripts/twister +module_tests.args --outdir module_tests ${TWISTER_COMMON} ${WEEKLY_OPTIONS}
176 - name: Print ccache stats
179 ccache -s -vv
181 - name: Upload Unit Test Results
183 uses: actions/upload-artifact@v4
186 if-no-files-found: ignore
188 twister-out/twister.xml
189 twister-out/twister.json
193 - if: matrix.subset == 1 && github.event_name == 'push'
197 FREEZE_FILE="frozen-requirements.txt"
199 version="$(git describe --abbrev=12 --always)"
200 echo -e "# Generated at $timestamp ($version)\n" > $FREEZE_FILE
201 pip freeze | tee -a $FREEZE_FILE
203 - if: matrix.subset == 1 && github.event_name == 'push'
205 uses: actions/upload-artifact@v4
207 name: Frozen PIP package set
209 frozen-requirements.txt
211 twister-test-results:
214 - twister-build
215 runs-on: ubuntu-22.04
216 # the build-and-test job might be skipped, we don't need to run this job then
220 - name: Check out source code
221 if: needs.twister-build.result == 'failure'
225 fetch-depth: 0
226 persist-credentials: false
228 - name: Download Artifacts
229 uses: actions/download-artifact@v4
233 - name: Merge Test Results
239 - name: Upload Unit Test Results
241 uses: actions/upload-artifact@v4
244 if-no-files-found: ignore
249 - name: Publish Unit Test Results
250 … uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
256 - name: Analyze Twister Reports
257 if: needs.twister-build.result == 'failure'
259 …/ci/twister_report_analyzer.py artifacts/*/*/twister.json --long-summary --platforms --output-md e…
260 if [[ -s "errors.md" ]]; then
265 - name: Upload Twister Analysis Results
266 if: needs.twister-build.result == 'failure'
267 uses: actions/upload-artifact@v4
270 if-no-files-found: ignore
274 twister-status-check:
278 - twister-build-prep
279 - twister-build
280 uses: ./.github/workflows/ready-to-merge.yml