mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-19 06:41:14 -06:00
Feature/fix more colors (#193)
* fix more colors * fix more color on Mac Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com> * fix new windows issue on Mac Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com> #137 * Support more PrusaSlicer variables Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com> * enhance compatibility: bed_shape and wipe_start_x * fix more color * build deps * only build for PR Signed-off-by: SoftFever <softfeverever@gmail.com> Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com> Signed-off-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
948dee01ec
commit
1bdedb1c47
41 changed files with 167 additions and 100 deletions
2
.github/workflows/build_linux.yml
vendored
2
.github/workflows/build_linux.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
name: Build Linux
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
appimage-builder:
|
||||
|
|
2
.github/workflows/build_mac_arm64.yml
vendored
2
.github/workflows/build_mac_arm64.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
name: Build Mac arm64
|
||||
|
||||
on: [pull_request, push]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build_win64:
|
||||
|
|
2
.github/workflows/build_mac_x64.yml
vendored
2
.github/workflows/build_mac_x64.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
name: Build Mac x64
|
||||
|
||||
on: [pull_request, push]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build_win64:
|
||||
|
|
52
.github/workflows/build_win.yml
vendored
52
.github/workflows/build_win.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
name: Build Win64
|
||||
|
||||
on: [pull_request,push]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build_win64:
|
||||
|
@ -10,37 +10,37 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
# - name: Install perl
|
||||
# run: |
|
||||
# choco install strawberryperl
|
||||
- name: Install perl
|
||||
run: |
|
||||
choco install strawberryperl
|
||||
- run: mkdir ${{ github.workspace }}/deps/build
|
||||
- run: mkdir ${{ github.workspace }}/deps/build/BambuStudio_dep
|
||||
- name: download deps
|
||||
shell: powershell
|
||||
run: '(new-object System.Net.WebClient).DownloadFile("https://github.com/SoftFever/FileSharing/releases/download/2/BambuStudio_dep.zip", "$env:temp\BambuStudio_dep.zip")'
|
||||
- name: extract deps
|
||||
working-directory: ${{ github.workspace }}/deps/build
|
||||
shell: cmd
|
||||
run: '"C:/Program Files/7-Zip/7z.exe" x %temp%\BambuStudio_dep.zip'
|
||||
# - name: download deps
|
||||
# shell: powershell
|
||||
# run: '(new-object System.Net.WebClient).DownloadFile("https://github.com/SoftFever/FileSharing/releases/download/2/BambuStudio_dep.zip", "$env:temp\BambuStudio_dep.zip")'
|
||||
# - name: extract deps
|
||||
# working-directory: ${{ github.workspace }}/deps/build
|
||||
# shell: cmd
|
||||
# run: '"C:/Program Files/7-Zip/7z.exe" x %temp%\BambuStudio_dep.zip'
|
||||
|
||||
- run: dir "${{ github.workspace }}\deps\build\BambuStudio_dep"
|
||||
# - run: dir "${{ github.workspace }}\deps\build\BambuStudio_dep"
|
||||
|
||||
# - name: build deps
|
||||
# id: cache_deps
|
||||
# uses: actions/cache@v3
|
||||
# env:
|
||||
# cache-name: ${{ runner.os }}-cache-bambustudio_deps
|
||||
# with:
|
||||
# path: ${{ github.workspace }}/deps/build/BambuStudio_dep
|
||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}
|
||||
- name: build deps
|
||||
id: cache_deps
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ${{ runner.os }}-cache-bambustudio_deps
|
||||
with:
|
||||
path: ${{ github.workspace }}/deps/build/BambuStudio_dep
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
||||
|
||||
# - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
|
||||
# name: build deps
|
||||
# working-directory: ${{ github.workspace }}
|
||||
# continue-on-error: true
|
||||
# run: .\build_release.bat deps
|
||||
- if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
|
||||
name: build deps
|
||||
working-directory: ${{ github.workspace }}
|
||||
continue-on-error: true
|
||||
run: .\build_release.bat deps
|
||||
|
||||
# - run: Get-ChildItem ${{ github.workspace }}/deps/build/ -Exclude BambuStudio_dep | Remove-Item -Recurse -Force
|
||||
- run: Get-ChildItem ${{ github.workspace }}/deps/build/ -Exclude BambuStudio_dep | Remove-Item -Recurse -Force
|
||||
|
||||
- name: Build studio
|
||||
working-directory: ${{ github.workspace }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue