mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
Update cmake.yml
This commit is contained in:
parent
db63ad42fd
commit
cb32359e2b
18
.github/workflows/cmake.yml
vendored
18
.github/workflows/cmake.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user