Skip to content

Commit

Permalink
Fix CI build script
Browse files Browse the repository at this point in the history
  • Loading branch information
webhdx committed Dec 16, 2024
1 parent 227946a commit 83e7ee5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/10-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,26 @@ jobs:
exit 1
fi
- name: Create build directory
run: |
mkdir -p ${{github.workspace}}/build/${{matrix.build_dir}}
- name: Build and run Dev Container task
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/webhdx/picoboot
cacheFrom: ghcr.io/webhdx/picoboot
runCmd: |
unset PICO_PLATFORM
unset PICO_BOARD
cmake -B ${{github.workspace}}/build/${{matrix.build_dir}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_PLATFORM=${{matrix.platform}} -DPICO_BOARD=${{matrix.board}}
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
make
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: picoboot-${{ steps.vars.outputs.sha_short }}
name: picoboot-${{matrix.platform}}-${{matrix.board}}-${{ steps.vars.outputs.sha_short }}
path: |
picoboot_full.uf2
picoboot.uf2
Expand Down

0 comments on commit 83e7ee5

Please sign in to comment.