File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change 5454 - cron : " 0 0 * * *"
5555
5656jobs :
57+ setup :
58+ runs-on : ubuntu-24.04
59+ outputs :
60+ TOOLCHAIN_VERSION : ${{ steps.setup.outputs.TOOLCHAIN_VERSION }}
61+ steps :
62+ - name : Checkout ATT
63+ uses : actions/checkout@v4
64+ with :
65+ path : att
66+ - name : Find NCS SHA
67+ run : |
68+ NCS_REV=$(cat att/west.yml | grep "revision:" | awk '{print $2}' | xargs)
69+ echo "NCS_REV=${NCS_REV}" >> $GITHUB_ENV
70+ echo "NCS_REV=${NCS_REV}"
71+ - name : Checkout NCS
72+ uses : actions/checkout@v4
73+ with :
74+ path : nrf
75+ repository : nrfconnect/sdk-nrf
76+ ref : ${{ env.NCS_REV }}
77+ - name : Set Toolchain Version
78+ id : setup
79+ run : |
80+ TOOLCHAIN_VERSION=$(./nrf/scripts/print_toolchain_checksum.sh)
81+ echo "TOOLCHAIN_VERSION=${TOOLCHAIN_VERSION}"
82+ echo "TOOLCHAIN_VERSION=${TOOLCHAIN_VERSION}" >> $GITHUB_OUTPUT
5783 build :
5884 runs-on : ubuntu-24.04
59- container : ghcr.io/zephyrproject-rtos/ci:v0.27.4
60- env :
61- CMAKE_PREFIX_PATH : /opt/toolchains
85+ needs : setup
86+ container : ghcr.io/nrfconnect/sdk-nrf-toolchain:${{ needs.setup.outputs.TOOLCHAIN_VERSION }}
87+ defaults :
88+ run :
89+ shell : bash
6290 outputs :
6391 run_id : ${{ github.run_id }}
6492 version : ${{ env.VERSION }}
You can’t perform that action at this time.
0 commit comments