-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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: python -m pip install -e Python | ||
- 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:/hostedtoolcache/windows/Python/3.10.11/x64" | ||
- run: cmake --build python_build --config Release | ||
- run: python_build\Release\ExternalLibraryTest.exe |
This file was deleted.
Oops, something went wrong.