dll for 1.8 #11
Workflow file for this run
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
name: C/C++ deps for windows x64 | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
name: Make and upload windows SuperSlicer deps | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: mkdir in deps | |
run: mkdir deps/build | |
- name: cmake deps | |
working-directory: ./deps/build | |
shell: cmd | |
run: cmake .. -G "Visual Studio 16 2019" -A x64 | |
- name: make deps | |
working-directory: ./deps/build | |
shell: cmd | |
run: msbuild /m ALL_BUILD.vcxproj | |
- name: Upload artifact | |
uses: actions/upload-artifact@v1.0.0 | |
with: | |
name: deps_win | |
path: ./deps/build/destdir/ | |
- name: zip the result | |
working-directory: ./deps/build | |
shell: cmd | |
run: '"C:/Program Files/7-Zip/7z.exe" a deps_win.zip destdir' | |
- name: Upload Release Asset | |
id: upload-release-asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: ./deps/build/deps_win.zip | |
asset_name: deps_win.zip | |
asset_content_type: application/zip |