Skip to content

采用静态链接并将Github CI的发行版本改为ubuntu-20.04 #143

采用静态链接并将Github CI的发行版本改为ubuntu-20.04

采用静态链接并将Github CI的发行版本改为ubuntu-20.04 #143

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ master,dev ]
pull_request:
branches: [ master,dev ]
jobs:
ubuntu-build:
runs-on: ubuntu-20.04
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