37 lines
1.0 KiB
YAML
Raw Normal View History

2021-10-06 22:37:29 +08:00
name: CMake
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# 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: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-10-06 22:46:11 +08:00
- name: PULL_CORE
run: cd ${{github.workspace}}/port/linux && bash pull-core.sh
2021-10-06 22:40:43 +08:00
- name: INIT
2021-10-06 22:37:29 +08:00
2021-10-06 22:40:43 +08:00
run: cd ${{github.workspace}}/port/linux && bash init.sh
- name: TEST
2021-10-06 22:37:29 +08:00
# Build your program with the given configuration
2021-10-06 22:40:43 +08:00
run: cd ${{github.workspace}}/port/linux && bash test.sh
2021-10-06 22:37:29 +08:00
2021-10-06 22:50:44 +08:00
- name: PACKAGE_MANAGER
run: cd ${{github.workspace}}/tools/pikaPackageManager && go build