Update cmake.yml

This commit is contained in:
Lyon 2021-10-08 22:52:53 +08:00 committed by GitHub
parent 9846aaab7f
commit 879de8f4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ env:
BUILD_TYPE: Release
jobs:
linux:
linux-core:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
@ -21,11 +21,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ryanwinter/arm-none-eabi-gcc@v2.0.1
with:
# GNU Embedded Toolchain for Arm release name, in the V-YYYY-qZ format (e.g. "9-2019-q4")
release: '9-2019-q4'
- name: PULL_CORE
run: cd ${{github.workspace}}/port/linux && bash pull-core.sh
@ -40,6 +35,26 @@ jobs:
- name: PIKAPI_BOOTLOADER
run: cd ${{github.workspace}}/bsp/PikaPi_Zero/bootloader && make
windows-bsp:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ryanwinter/arm-none-eabi-gcc@v2.0.1
with:
# GNU Embedded Toolchain for Arm release name, in the V-YYYY-qZ format (e.g. "9-2019-q4")
release: '9-2019-q4'
- name: stm32g030-bootloader
run: cd ${{github.workspace}}/bsp/PikaPi_Zero/bootloader && make
- name: stm32f103-beforeMake
run: cd ${{github.workspace}}/bsp/stm32f103c8/pikascript && pikaPackage.exe && rust-msc-latest-win10.exe
- name: stm32f103-make
run: cd ${{github.workspace}}/bsp/stm32f103c8 && make
windows:
runs-on: windows-latest
steps: