Lines Matching +full:zephyrproject +full:- +full:rtos
5 - cron: '25 */3 * * 1-5'
8 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
9 cancel-in-progress: true
13 if: github.repository == 'zephyrproject-rtos/zephyr'
14 runs-on: zephyr-runner-linux-x64-4xlarge
16 image: ghcr.io/zephyrproject-rtos/ci:v0.26.4
17 options: '--entrypoint /bin/bash'
19 - /repo-cache/zephyrproject:/github/cache/zephyrproject
21 fail-fast: false
25 ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1
27 - name: Apply container owner mismatch workaround
33 git config --global --add safe.directory ${GITHUB_WORKSPACE}
35 - name: Update PATH for west
39 - name: Clone cached Zephyr repository
40 continue-on-error: true
42 git clone --shared /github/cache/zephyrproject/zephyr .
43 git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
45 - name: checkout
48 fetch-depth: 0
50 - name: west setup
52 west init -l . || true
53 west update 1> west.update.log || west update 1> west.update-2.log
55 - name: Check Environment
57 cmake --version
58 gcc --version
59 ls -la
60 - name: Prepare ccache keys
62 shell: cmake -P {0}
65 string(REPLACE "-" "_" repo2 ${repo})
68 - name: use cache
69 id: cache-ccache
70 uses: zephyrproject-rtos/action-s3-cache@v1.2.0
72 …key: ${{ steps.ccache_cache_prop.outputs.repo }}-${{github.event_name}}-${{matrix.platform}}-codec…
74 aws-s3-bucket: ccache.zephyrproject.org
75 aws-access-key-id: ${{ vars.AWS_CCACHE_ACCESS_KEY_ID }}
76 aws-secret-access-key: ${{ secrets.AWS_CCACHE_SECRET_ACCESS_KEY }}
77 aws-region: us-east-2
79 - name: ccache stats initial
81 mkdir -p /github/home/.cache
82 … test -d github/home/.cache/ccache && mv github/home/.cache/ccache /github/home/.cache/ccache
83 ccache -M 10G -s
85 - name: Run Tests with Twister (Push)
86 continue-on-error: true
90 mkdir -p coverage/reports
91 …./scripts/twister --force-color -N -v --filter runnable -p ${{ matrix.platform }} --coverage -T te…
93 - name: Generate Coverage Report
95 mv twister-out/coverage.info lcov.pre.info
96 lcov -q --remove lcov.pre.info mylib.c --remove lcov.pre.info tests/\* \
97 --remove lcov.pre.info samples/\* --remove lcov.pre.info ext/\* \
98 --remove lcov.pre.info *generated* \
99 -o coverage/reports/${{ matrix.platform }}.info --rc lcov_branch_coverage=1
101 - name: ccache stats post
103 ccache -s
104 ccache -p
106 - name: Upload Coverage Results
108 uses: actions/upload-artifact@v3
113 codecov-results:
116 runs-on: ubuntu-22.04
121 - name: checkout
124 fetch-depth: 0
125 - name: Download Artifacts
126 uses: actions/download-artifact@v3
130 - name: Move coverage files
133 ls -la ./coverage/reports
135 - name: Generate list of coverage files
136 id: get-coverage-files
137 shell: cmake -P {0}
153 set(MERGELIST "-a ${f}")
155 set(MERGELIST "${MERGELIST} -a ${f}")
161 - name: Merge coverage files
163 sudo apt-get update
164 sudo apt-get install -y lcov
166 … lcov ${{ steps.get-coverage-files.outputs.mergefiles }} -o merged.info --rc lcov_branch_coverage=1
168 - name: Upload coverage to Codecov
170 uses: codecov/codecov-action@v3