Skip to content

Ah/branch backend libs #155

Ah/branch backend libs

Ah/branch backend libs #155

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches: [ "main" ]
jobs:
Linux:
name: build-linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Get latest CMake
uses: lukka/get-cmake@latest
- name: Installing Jinja2
run: python -m pip install Jinja2
- name: Installing pytest
run: python -m pip install pytest
- name: Running cmake (Linux)
run: |
ls ${{github.workspace}}
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
- name: Build Solution (Linux)
run: |
cd build
make
- name: Testing (Linux)
run: |
cd build
ctest -C Debug --output-on-failure
Windows:
name: build-windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Get latest CMake
uses: lukka/get-cmake@latest
- name: Installing Jinja2
run: python -m pip install Jinja2
- name: List python modules
run: pip list
- name: Installing pytest
run: python -m pip install pytest
- name: Running cmake (Windows)
run: |
cmake -DCMAKE_BUILD_TYPE=Debug .
- name: Build Solution (Windows)
run: |
cmake --build .
- name: Testing (Windows)
run: |
ctest -C Debug --output-on-failure