Merge pull request #311 from zrax/upload_artifact

Upload artifacts from Windows build
This commit is contained in:
Michael Hansen
2023-01-18 13:28:57 -08:00
committed by GitHub

View File

@@ -8,13 +8,14 @@ jobs:
build: build:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Configure and Build - name: Configure and Build
run: | run: |
mkdir build mkdir build
cd build cd build
cmake -G "Visual Studio 17 2022" -A Win32 .. cmake -G "Visual Studio 17 2022" -A Win32 ..
cmake --build . --config Debug cmake --build . --config Debug
cmake --build . --config Release
# This should probably be fixed to work from MSVC without needing to # This should probably be fixed to work from MSVC without needing to
# use a bash shell and the GNU userland tools... But for now, the # use a bash shell and the GNU userland tools... But for now, the
@@ -25,3 +26,9 @@ jobs:
bash.exe ..\..\tests\all_tests.sh bash.exe ..\..\tests\all_tests.sh
env: env:
PYTHON_EXE: python.exe PYTHON_EXE: python.exe
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: pycdc-release
path: build\Release\*.exe