fix: export targets and cmake files, add BUILD_TESTING check #67
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: asyncio ci | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup gcc | |
uses: egor-tensin/setup-gcc@v1 | |
with: | |
version: 11 | |
- uses: actions/checkout@master | |
with: | |
submodules: recursive | |
- name: build | |
run: | | |
mkdir build-debug | |
cmake -H. -Bbuild-debug -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON | |
cmake --build build-debug -j | |
- name: test | |
run: ./build-debug/test/ut/asyncio_ut |