Update CI.yml

This commit is contained in:
Lyon 2021-12-12 18:26:50 +08:00 committed by GitHub
parent e221865843
commit 5067d81c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,44 +34,44 @@ jobs:
# Build your program with the given configuration # Build your program with the given configuration
run: cd ${{github.workspace}}/port/linux && bash gtest.sh run: cd ${{github.workspace}}/port/linux && bash gtest.sh
bsp: # bsp:
runs-on: windows-latest # runs-on: windows-latest
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- uses: ryanwinter/arm-none-eabi-gcc@v2.0.1 # - uses: ryanwinter/arm-none-eabi-gcc@v2.0.1
with: # with:
# GNU Embedded Toolchain for Arm release name, in the V-YYYY-qZ format (e.g. "9-2019-q4") # # GNU Embedded Toolchain for Arm release name, in the V-YYYY-qZ format (e.g. "9-2019-q4")
release: '9-2019-q4' # release: '9-2019-q4'
- name: stm32f103c8-beforeMake # - name: stm32f103c8-beforeMake
run: cd ${{github.workspace}}/bsp/stm32f103c8/pikascript && ./pikaPackage.exe && ./rust-msc-latest-win10.exe # run: cd ${{github.workspace}}/bsp/stm32f103c8/pikascript && ./pikaPackage.exe && ./rust-msc-latest-win10.exe
# - name: stm32f103c8-make # # - name: stm32f103c8-make
# run: cd ${{github.workspace}}/bsp/stm32f103c8 && make # # run: cd ${{github.workspace}}/bsp/stm32f103c8 && make
- name: stm32g030c8-beforeMake # - name: stm32g030c8-beforeMake
run: cd ${{github.workspace}}/bsp/stm32g030c8/pikascript && ./pikaPackage.exe && ./rust-msc-latest-win10.exe # run: cd ${{github.workspace}}/bsp/stm32g030c8/pikascript && ./pikaPackage.exe && ./rust-msc-latest-win10.exe
# - name: stm32g030c8-make # # - name: stm32g030c8-make
# run: cd ${{github.workspace}}/bsp/stm32g030c8 && make # # run: cd ${{github.workspace}}/bsp/stm32g030c8 && make
- name: stm32g070cb-beforeMake # - name: stm32g070cb-beforeMake
run: cd ${{github.workspace}}/bsp/stm32g070cb/pikascript && ./pikaPackage.exe && ./rust-msc-latest-win10.exe # run: cd ${{github.workspace}}/bsp/stm32g070cb/pikascript && ./pikaPackage.exe && ./rust-msc-latest-win10.exe
# - name: stm32g070cb-make # # - name: stm32g070cb-make
# run: cd ${{github.workspace}}/bsp/stm32g070cb && make # # run: cd ${{github.workspace}}/bsp/stm32g070cb && make
- name: stm32g030-bootloader # - name: stm32g030-bootloader
run: cd ${{github.workspace}}/bsp/PikaPi_Zero/bootloader && make # run: cd ${{github.workspace}}/bsp/PikaPi_Zero/bootloader && make
packageManager-windows: # packageManager-windows:
runs-on: windows-latest # runs-on: windows-latest
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- name: PACKAGE_MANAGER # - name: PACKAGE_MANAGER
run: cd ${{github.workspace}}/tools/pikaPackageManager && go run main.go # run: cd ${{github.workspace}}/tools/pikaPackageManager && go run main.go