Skip to content

Use GitHub actions for CI #5

Use GitHub actions for CI

Use GitHub actions for CI #5

Workflow file for this run

name: Build ExternalLibrary
on:
push:
branches: [ main ]
tags: [ 'v*' ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: cmake --version
- run: cmake . -G "Visual Studio 17 2022" -Bcpp_build
- run: cmake --build cpp_build --config Release
- run: cpp_build\Release\ExternalLibraryTest.exe
- run: cmake . -G "Visual Studio 17 2022" -Bpython_build -DEXTERNAL_LANGUAGE=Python -DPYTHON_HOME=C:/Miniconda/envs/myEnvironment
- run: cmake --build python_build --config Release
- run: python_build\Release\ExternalLibraryTest.exe