修改错误的发行脚本 #122
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ master,dev ] | |
pull_request: | |
branches: [ master,dev ] | |
jobs: | |
ubuntu-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: configure | |
run: mkdir build-ubuntu && cd build-ubuntu && cmake -D CMAKE_BUILD_TYPE=release .. | |
- name: build | |
run: cmake --build build-ubuntu | |
win-build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: configure | |
run: mkdir build-windows && cd build-windows && cmake -D CMAKE_BUILD_TYPE=release .. | |
- name: build | |
run: cmake --build build-windows |