Skip to content

refine support any linux #112

refine support any linux

refine support any linux #112

Workflow file for this run

name: C++ CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Set up CMake
run: |
sudo apt-get install -y cmake
pip install pytest
- name: Build project
run: |
git submodule update --init --recursive
mkdir build
cd build
cmake ..
make
cd ..
pip wheel .
pip install --force-reinstall *.whl
- name: Run tests
run: |
cd build
ctest -R
cd ../
pytest test
- name: Upload test results
uses: actions/upload-artifact@v2
with:
name: test-results
path: build/Testing/Temporary