取消静态链接,因为glibc静态链接不能使用libnss #145
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-22.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 |