Skip to content

Use GitHub actions for CI #2

Use GitHub actions for CI

Use GitHub actions for CI #2

Workflow file for this run

name: Build ExternalLibrary
on:
push:
branches: [ main ]
tags: [ 'v*' ]
pull_request:
branches: [ main ]
jobs:
build:
steps:

Check failure on line 12 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build ExternalLibrary

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 12, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: cmake . --cmake-generator "Visual Studio 17 2022" --cmake-architecture x86 -Bcpp_build
- run: cmake --build cpp_build --config Release
- run: cpp_build\Release\ExternalLibraryTest.exe
- run: cmake . --cmake-generator "Visual Studio 17 2022" --cmake-architecture x86 -Bpython_build -DEXTERNAL_LANGUAGE=Python -DPYTHON_HOME=C:/Miniconda/envs/myEnvironment
- run: cmake --build python_build --config Release
- run: python_build\Release\ExternalLibraryTest.exe