File tree Expand file tree Collapse file tree 1 file changed +22
-23
lines changed
Expand file tree Collapse file tree 1 file changed +22
-23
lines changed Original file line number Diff line number Diff line change 1- name : Wolfboot CMake Build Workflow
1+ name : Wolfboot CMake Build
22
33on :
4- push :
5- branches : [ 'master', 'main', 'release/**' ]
6- pull_request :
7- branches : [ '*' ]
4+ push:
5+ branches: [ 'master', 'main', 'release/**' ]
6+ pull_request:
7+ branches: [ '*' ]
88
99jobs :
10- build-cmake :
11- runs-on : ubuntu-latest
10+ cmake_automated_build :
11+ runs-on: ubuntu-latest
1212
13- steps :
14- - uses : actions/checkout@v4
15- with :
16- submodules : true
13+ steps:
14+ - uses: actions/checkout@v4
15+ with:
16+ submodules: true
1717
18- - name : Install cross compilers
19- run : |
20- sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu/|http://mirror.arizona.edu/ubuntu/|g' /etc/apt/sources.list
21- sudo apt-get update
22- sudo apt-get install -y gcc-arm-none-eabi gcc-powerpc-linux-gnu cmake
18+ - name: Install requirements
19+ run: |
20+ sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu/|http://mirror.arizona.edu/ubuntu/|g' /etc/apt/sources.list
21+ sudo apt-get update
22+ sudo apt-get install -y gcc-arm-none-eabi gcc-powerpc-linux-gnu cmake
2323
24- - name : Run CMake
25- run : |
26- rm -rf ./build
27- cmake -B build -DWOLFBOOT_TARGET=stm32u5 -DBUILD_TEST_APPS=yes -DWOLFBOOT_PARTITION_BOOT_ADDRESS=0x08100000 -DWOLFBOOT_SECTOR_SIZE=0x2000 -DWOLFBOOT_PARTITION_SIZE=0x20000 -DWOLFBOOT_PARTITION_UPDATE_ADDRESS=0x817F000 -DWOLFBOOT_PARTITION_SWAP_ADDRESS=0x81FE000 -DNO_MPU=yes
28-
29- - name : Build wolfBoot
30- run : make -C build
24+ - name : Run CMake
25+ run : |
26+ rm -rf ./build
27+ cmake -B build -DWOLFBOOT_TARGET=stm32u5 -DBUILD_TEST_APPS=yes -DWOLFBOOT_PARTITION_BOOT_ADDRESS=0x08100000 -DWOLFBOOT_SECTOR_SIZE=0x2000 -DWOLFBOOT_PARTITION_SIZE=0x20000 -DWOLFBOOT_PARTITION_UPDATE_ADDRESS=0x817F000-DWOLFBOOT_PARTITION_SWAP_ADDRESS=0x81FE000 -DNO_MPU=yes
28+ - name: Build wolfBoot
29+ run: make -C build
You can’t perform that action at this time.
0 commit comments