Skip to content

Commit

Permalink
Use GitHub actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sommer committed Nov 28, 2023
1 parent 782711b commit d77d0e9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 42 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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: where python
- run: gci env:* | sort-object name
- run: echo "${{ env.Python_ROOT_DIR }}"
- run: dir C:\hostedtoolcache\windows\Python\3.10.11\x64
- 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=${{ env.Python_ROOT_DIR }}
- run: cmake --build python_build --config Release
- run: python_build\Release\ExternalLibraryTest.exe
42 changes: 0 additions & 42 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit d77d0e9

Please sign in to comment.