Merge pull request #2660 from openmv/update_docker_build

github: Update workflows.
This commit is contained in:
Ibrahim Abdelkader 2025-04-16 08:18:51 +02:00 committed by GitHub
commit 08d14ee339
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -14,7 +14,6 @@ on:
- '!**.rst'
- '!**.md'
- '!cubeai**'
- '!docker**'
- '!scripts**'
- '!tools/**'
@ -29,7 +28,6 @@ on:
- '!**.rst'
- '!**.md'
- '!cubeai**'
- '!docker**'
- '!scripts**'
- '!tools/**'
@ -51,7 +49,7 @@ jobs:
- ARDUINO_NICLA_VISION
- ARDUINO_NANO_RP2040_CONNECT
- ARDUINO_NANO_33_BLE_SENSE
- Docker
- DOCKER
fail-fast: false
steps:
- name: '⏳ Checkout repository'
@ -101,7 +99,7 @@ jobs:
run: source tools/ci.sh && ci_build_target ${{ matrix.target }}
- name: '⬆ Upload artifacts'
if: matrix.target != 'Docker'
if: matrix.target != 'DOCKER'
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target }}

View File

@ -47,7 +47,7 @@ ci_update_submodules() {
ci_build_target() {
export LLVM_PATH=${LLVM_TOOLCHAIN_PATH}/bin
export PATH=${GNU_MAKE_PATH}:${GCC_TOOLCHAIN_PATH}/bin:${PATH}
if [ "$1" == "Docker" ]; then
if [ "$1" == "DOCKER" ]; then
BOARD=ARDUINO_NICLA_VISION
make -j$(nproc) -C docker TARGET=${BOARD}
else