Skip to content

Codespace opulent parakeet r64rrvrvw7jhx5vp #18

Codespace opulent parakeet r64rrvrvw7jhx5vp

Codespace opulent parakeet r64rrvrvw7jhx5vp #18

Workflow file for this run

name: Build Win x64
on:
push:
branches:
- main
- dev_9
- codespace-opulent-parakeet-r64rrvrvw7jhx5vp
paths:
- 'src/**'
- '**/CMakeLists.txt'
- 'version.inc'
- 'bbl/**'
- 'resources/**'
pull_request:
branches:
- main
- dev_9
- codespace-opulent-parakeet-r64rrvrvw7jhx5vp
paths:
- 'src/**'
- '**/CMakeLists.txt'
- 'version.inc'
- 'bbl/**'
- 'resources/**'
jobs:
build_win64:
name: Build Win x64
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
- name: Install perl
run: |
choco install strawberryperl
- run: mkdir ${{ github.workspace }}/deps/build
- run: mkdir ${{ github.workspace }}/deps/build/GalaxySlicer_dep
- name: download GalaxySlicer deps
shell: powershell
run: '(new-object System.Net.WebClient).DownloadFile("https://github.com/fr3ak2402/GalaxySlicer_deps/releases/download/October_23/GalaxySlicer_dep_Win_x64_11-10-23.zip", "$env:temp\GalaxySlicer_dep_Win_x64_11-10-23.zip")'
- name: extract deps
working-directory: ${{ github.workspace }}/deps/build
shell: cmd
run: '"C:/Program Files/7-Zip/7z.exe" x %temp%\GalaxySlicer_dep_Win_x64_11-10-23.zip'
- run: dir "${{ github.workspace }}\deps\build\GalaxySlicer_dep"
- name: Build GalaxySlicer
working-directory: ${{ github.workspace }}
run: .\build_release_vs2022.bat slicer
- name: Upload GalaxySlicer
uses: actions/upload-artifact@v3
with:
name: GalaxySlicer_Win_x64_nightly
path: ${{ github.workspace }}/build/GalaxySlicer