Update cmake.yml

This commit is contained in:
Lyon 2021-10-08 10:40:47 +08:00 committed by GitHub
parent db63ad42fd
commit cb32359e2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,12 +11,12 @@ env:
BUILD_TYPE: Release
jobs:
build:
linux:
# 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.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -37,8 +37,14 @@ jobs:
# Build your program with the given configuration
run: cd ${{github.workspace}}/port/linux && bash test.sh
- name: PACKAGE_MANAGER
run: cd ${{github.workspace}}/tools/pikaPackageManager && go run main.go
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: PIKAPI_BOOTLOADER
run: cd ${{github.workspace}}/bsp/PikaPi_Zero/bootloader && make
- 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: PACKAGE_MANAGER
run: cd ${{github.workspace}}/tools/pikaPackageManager && go run main.go