-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'adaptive-respect-range-pr' of https://github.com/vovodr…
…oid/OrcaSlicer into adaptive-respect-range-pr
- Loading branch information
Showing
1,745 changed files
with
114,196 additions
and
35,437 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
github: SoftFever | ||
ko_fi: SoftFever | ||
custom: https://paypal.me/softfever3d |
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
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
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 |
---|---|---|
|
@@ -36,6 +36,10 @@ jobs: | |
key: ${{ inputs.cache-key }} | ||
fail-on-cache-miss: true | ||
|
||
- uses: lukka/get-cmake@latest | ||
with: | ||
cmakeVersion: "~3.28.0" # use most recent 3.28.x version | ||
|
||
- name: Get the version and date on Ubuntu and macOS | ||
if: inputs.os != 'windows-latest' | ||
run: | | ||
|
@@ -77,7 +81,6 @@ jobs: | |
- name: Install tools mac | ||
if: inputs.os == 'macos-14' | ||
run: | | ||
brew install cmake | ||
brew install tree ninja libtool | ||
brew list | ||
mkdir -p ${{ github.workspace }}/deps/build_${{inputs.arch}} | ||
|
@@ -156,6 +159,9 @@ jobs: | |
- name: Build slicer Win | ||
if: inputs.os == 'windows-latest' | ||
working-directory: ${{ github.workspace }} | ||
env: | ||
WindowsSdkDir: 'C:\Program Files (x86)\Windows Kits\10\' | ||
WindowsSDKVersion: '10.0.22000.0\' | ||
run: .\build_release_vs2022.bat slicer | ||
|
||
- name: Create installer Win | ||
|
@@ -221,32 +227,38 @@ jobs: | |
|
||
# Ubuntu | ||
- name: Install dependencies | ||
if: inputs.os == 'ubuntu-20.04' | ||
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' | ||
env: | ||
apt-cmd: ${{ (inputs.os == 'ubuntu-20.04' && 'apt-fast') || (inputs.os == 'ubuntu-24.04' && 'sudo apt-get') || '' }} | ||
webkit-ver: ${{ (inputs.os == 'ubuntu-20.04' && '4.0') || (inputs.os == 'ubuntu-24.04' && '4.1') || '' }} | ||
libfuse2-pkg: ${{ (inputs.os == 'ubuntu-20.04' && 'libfuse2') || (inputs.os == 'ubuntu-24.04' && 'libfuse2t64') || '' }} | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y autoconf build-essential cmake curl eglexternalplatform-dev \ | ||
${{ env.apt-cmd }} update | ||
${{ env.apt-cmd }} install -y autoconf build-essential cmake curl eglexternalplatform-dev \ | ||
extra-cmake-modules file git libcairo2-dev libcurl4-openssl-dev libdbus-1-dev libglew-dev libglu1-mesa-dev \ | ||
libglu1-mesa-dev libgstreamer1.0-dev libgstreamerd-3-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev \ | ||
libgtk-3-dev libgtk-3-dev libmspack-dev libosmesa6-dev libsecret-1-dev libsoup2.4-dev libssl-dev libudev-dev libwayland-dev \ | ||
libwebkit2gtk-4.0-dev libxkbcommon-dev locales locales-all m4 pkgconf sudo wayland-protocols wget | ||
libwebkit2gtk-${{ env.webkit-ver }}-dev libxkbcommon-dev locales locales-all m4 pkgconf sudo wayland-protocols wget ${{ env.libfuse2-pkg }} | ||
- name: Install dependencies from BuildLinux.sh | ||
if: inputs.os == 'ubuntu-20.04' | ||
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' | ||
shell: bash | ||
run: sudo ./BuildLinux.sh -ur | ||
|
||
- name: Fix permissions | ||
if: inputs.os == 'ubuntu-20.04' | ||
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' | ||
shell: bash | ||
run: sudo chown $USER -R ./ | ||
|
||
- name: Build slicer | ||
if: inputs.os == 'ubuntu-20.04' | ||
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' | ||
shell: bash | ||
env: | ||
ubuntu-ver-str: ${{ (inputs.os == 'ubuntu-24.04' && '_Ubuntu2404') || '' }} | ||
run: | | ||
./BuildLinux.sh -isr | ||
mv -n ./build/OrcaSlicer_Linux_V${{ env.ver_pure }}.AppImage ./build/OrcaSlicer_Linux_${{ env.ver }}.AppImage | ||
chmod +x ./build/OrcaSlicer_Linux_${{ env.ver }}.AppImage | ||
mv -n ./build/OrcaSlicer_Linux_V${{ env.ver_pure }}.AppImage ./build/OrcaSlicer_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage | ||
chmod +x ./build/OrcaSlicer_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage | ||
- name: Build orca_custom_preset_tests | ||
if: github.ref == 'refs/heads/main' && inputs.os == 'ubuntu-20.04' | ||
|
@@ -258,20 +270,25 @@ jobs: | |
zip -r orca_custom_preset_tests.zip user/ | ||
- name: Upload artifacts Ubuntu | ||
if: ${{ ! env.ACT && inputs.os == 'ubuntu-20.04' }} | ||
if: ${{ ! env.ACT && inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' }} | ||
env: | ||
ubuntu-ver: ${{ (inputs.os == 'ubuntu-20.04' && '2004') || (inputs.os == 'ubuntu-24.04' && '2404') || '' }} | ||
ubuntu-ver-str: ${{ (inputs.os == 'ubuntu-24.04' && '_Ubuntu2404') || '' }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: OrcaSlicer_Linux_${{ env.ver }} | ||
path: './build/OrcaSlicer_Linux_${{ env.ver }}.AppImage' | ||
name: OrcaSlicer_Linux_ubuntu_${{ env.ubuntu-ver }}_${{ env.ver }} | ||
path: './build/OrcaSlicer_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage' | ||
|
||
- name: Deploy Ubuntu release | ||
if: ${{ ! env.ACT && github.ref == 'refs/heads/main' && inputs.os == 'ubuntu-20.04' }} | ||
if: ${{ ! env.ACT && github.ref == 'refs/heads/main' && (inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04') }} | ||
env: | ||
ubuntu-ver-str: ${{ (inputs.os == 'ubuntu-24.04' && '_Ubuntu2404') || '' }} | ||
uses: WebFreak001/[email protected] | ||
with: | ||
upload_url: https://uploads.github.com/repos/SoftFever/OrcaSlicer/releases/137995723/assets{?name,label} | ||
release_id: 137995723 | ||
asset_path: ./build/OrcaSlicer_Linux_${{ env.ver }}.AppImage | ||
asset_name: OrcaSlicer_Linux_${{ env.ver }}.AppImage | ||
asset_path: ./build/OrcaSlicer_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage | ||
asset_name: OrcaSlicer_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage | ||
asset_content_type: application/octet-stream | ||
max_releases: 1 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted | ||
|
||
|
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
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
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
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,38 @@ | ||
name: Update Translation Catalog | ||
on: | ||
# schedule: | ||
# - cron: 0 0 * * 1 | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update_translation: | ||
name: Update translation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
|
||
- name: Install gettext | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y gettext | ||
- name: Update translation catalog | ||
run: | | ||
./run_gettext.sh --full | ||
git add localization/i18n/* | ||
- name: Commit translation catalog updates | ||
uses: qoomon/actions--create-commit@v1 | ||
id: commit | ||
with: | ||
message: Update translation catalog | ||
skip-empty: true | ||
|
||
- name: Push changes | ||
run: git push |
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 |
---|---|---|
|
@@ -34,3 +34,4 @@ src/OrcaSlicer-doc/ | |
/deps/DL_CACHE | ||
**/.flatpak-builder/ | ||
resources/profiles/user/default | ||
*.code-workspace |
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
Oops, something went wrong.