Commit Graph

198 Commits

Author SHA1 Message Date
SoftFever
d7208005da Update DMG creation process in build workflow (#10891)
Refactor DMG creation process in build workflow

* Update the OrcaSlicer DMG creation steps to exclude the profile validator helper from the main DMG.
* Introduce a dedicated directory for the main OrcaSlicer DMG and the profile validator DMG, ensuring a cleaner build process.
* Use symbolic links with the `-sfn` option to avoid issues with existing links.

This change enhances the organization of the build artifacts and improves the clarity of the DMG creation process.
2025-09-28 13:38:13 +08:00
SoftFever
565ac58fd5 Revamp OrcaSlicer updater (#10884)
* Revamp OrcaSlicer updater
2025-09-28 10:33:33 +08:00
coryrc
d01def0f53 Add a once-daily Build All which skips caches (#10731)
* Add a once-daily Build All which skips caches

When an external dependency breaks a build, ensures a record exists of
it happening.

Half of #10404

* `inputs` is plural
2025-09-21 20:08:32 +08:00
coryrc
a3f8d3de90 Shellcheck everything (#10730)
* Shellcheck all shell scripts

* Implement Shellcheck's recommendations

* Shellcheck the distribution-specific files

* Include the distro scripts to trigger action

* Fix array usage (hopefully)

* Use single-quote string

TIL: single quote string in yaml treats everything as literal, but
double quote allows backslash escaping.

* Make all cmake commands use set+-x dance and fix macos getopts line

Make Claude happy

getopts has colon after a command which takes an argument

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-09-20 09:12:31 +08:00
dependabot[bot]
c0a69793d8 Bump tj-actions/changed-files from 44 to 46 (#10604)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 44 to 46.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v44...v46)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: '46'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 22:52:20 +08:00
dependabot[bot]
47c607960e Bump takanome-dev/assign-issue-action from 2.2 to 2.3 (#10606)
Bumps [takanome-dev/assign-issue-action](https://github.com/takanome-dev/assign-issue-action) from 2.2 to 2.3.
- [Release notes](https://github.com/takanome-dev/assign-issue-action/releases)
- [Commits](https://github.com/takanome-dev/assign-issue-action/compare/v2.2...v2.3)

---
updated-dependencies:
- dependency-name: takanome-dev/assign-issue-action
  dependency-version: '2.3'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 22:51:49 +08:00
dependabot[bot]
a44828d9ec Bump actions/checkout from 4 to 5 (#10605)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 22:51:21 +08:00
Nanashi
827d6160c3 Correct OrcaSlicer_profile_validator path (again) (#10512)
* Correct OrcaSlicer_profile_validator path (again)
2025-08-26 23:15:31 +08:00
coryrc
a14429f76a Add Assign Issue workflow (#10408)
Allow users to assign issues to themselves.

I don't know if its comments (i.e. unassigning) affects orca bot's
inactivity and stale. Probably. I didn't see a way for actions/stale
to exempt particular comments. This is set for 30 days and stale for
90 days, so if people are using this the stale timing can jump up to
120 days.
2025-08-26 22:35:05 +08:00
Nanashi
5369798d76 Correct OrcaSlicer_profile_validator path (#10510)
* Correct OrcaSlicer_profile_validator path

* Update build_orca.yml
2025-08-25 01:26:30 +08:00
Rodrigo
0e58f0d8d5 Fix netfab model repair service in github compilation (#10507)
* Update build_deps.yml

* Update build_orca.yml

* Revert "Update build_deps.yml"

This reverts commit 9e2350c6fbf5690cc0cad334ab78344bd243fba4.
2025-08-24 21:16:06 +08:00
coryrc
55fddb4de2 Run shellcheck on build_linux.sh and add it to workflows (#10317)
* Shellcheck on build_linux.sh and tiny refactor

`shellcheck -e SC1090 build_linux.sh` and fixed the issues.

Also fixed the usage command to return an error, simplify directory
creation to use `mkdir -p`, and made printing of the cmake commands
consistent instead of having three different ways of doing it.

* Reorder functions in more pleasing way

* Add shellcheck to workflows

This is the beginning of adding some safety nets for making
changes. Currently it just runs shellcheck against `build_linux.sh`.

You can see it working at
https://github.com/coryrc/OrcaSlicer/actions/workflows/shellcheck.yml
I forked and tested it running in PRs and against pushes to HEAD.

* Rerun shellcheck

Missed quotes on the merge
2025-08-24 19:26:14 +08:00
Ian Bassi
a478f7d4e1 Missing permissions validate-documentation.yml (#10495)
* Add permissions to documentation validation workflow
2025-08-23 23:01:53 +08:00
Brandon Wees
922ed7b37e feat: use "nightly" instead of version code for nightly builds (#10444)
* feat: use "nightly" instead of version code for nightly builds
2025-08-22 22:44:30 +08:00
Ian Bassi
56acf60d67 Wiki Validation Workflow Action (#10447)
Wiki Action
2025-08-22 22:23:59 +08:00
SoftFever
4031b7db11 Refactor folder (#10475)
Move many third-party components' source codes from the src folder to a new folder called deps_src. The goal is to make the code structure clearer and easier to navigate.
2025-08-22 20:02:26 +08:00
SoftFever
6de2e9692b Update macOS build script to use Ninja Multi-Config generator (#10377)
* Update macOS build script to use Ninja Multi-Config generator

* fix
2025-08-11 22:35:17 +08:00
SoftFever
6f6b711bc1 Disable the Claude Code Review workflow for PRs from forks, as CLAUDE_CODE_OAUTH_TOKEN cannot be retrieved for such PRs. 2025-08-10 18:49:01 +08:00
SoftFever
c987bae16b Add claude GitHub actions 1754810265440 (#10366)
* "Claude PR Assistant workflow"

* "Claude Code Review workflow"
2025-08-10 15:20:23 +08:00
SoftFever
6f407d5874 fix an issue that OrcaSlicer_profile_validator for Mac was not published to nightly build 2025-07-27 22:04:09 +08:00
SoftFever
17e1360c39 include OrcaSlicer_profile_validator in nightly build (#10233)
* include OrcaSlicer_profile_validator in nightly build

* build OrcaSlicer_profile_validator on Win

* create dmg
2025-07-27 00:13:30 +08:00
lodriguez
598f77b54a remove OSMesa (#9708)
* remove OSMesa

OSMesa is depricated for quite a while and got removed with Mesa 25.1.0

* remove OSMesa from all buildfiles, readmes, etc…

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
2025-06-15 14:53:42 +08:00
Vasily Khoruzhick
56b8c5e042 Various flatpak fixes and improvements (#9527)
* Revert 98be94a729

We carry a wxgtk patch [1] that detects dark theme automatically. If it
doesn't work, it means that either selected Gtk theme is not installed
in flatpak environment, or appropriate xdg-desktop-portal for the DE is not
installed.

Plasma users may need to install org.gtk.Gtk3theme.Adapta

Also see https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Settings.html

[1] 0001-Enable-using-a-dark-theme-when-Gnome-dark-style-is-s.patch

* flatpak: introduce ORCA_SLICER_DARK_THEME to force dark theme

If ORCA_SLICER_DARK_THEME is set, dark theme will be applied regardless
of system settings.

* FIX: occt build failure

Pick up build error fix from upstream:
7236e83dcc

/run/build/BambuStudio/deps/build/dep_OCCT-prefix/src/dep_OCCT/src/StdPrs/StdPrs_BRepFont.cxx: In member function ‘Standard_Boolean StdPrs_BRepFont::renderGlyph(Standard_Utf32Char, TopoDS_Shape&)’:
/run/build/BambuStudio/deps/build/dep_OCCT-prefix/src/dep_OCCT/src/StdPrs/StdPrs_BRepFont.cxx:465:30: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ [-fpermissive]
  465 |     const char* aTags      = &anOutline->tags[aStartIndex];
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                              |
      |                              unsigned char*

* Set policy CMP0167 to NEW

Newer cmake switched to using BoostConfig.cmake shipped with boost-1.70
or later for detecting boost, to preserve old behavior policy CMP0167
was introduced.

Set it to "NEW" to indicate that we want to use .cmake shipped with
boost

* Add OpenSSL tarball link to the manifest

* Add curl zip to the manifest

* flatpak: bump runtime version to 47

Gnome 47 has been released a while ago

---------

Co-authored-by: Bastien Nocera <hadess@hadess.net>
2025-06-15 12:10:51 +08:00
Dipl.-Ing. Raoul Rubien, BSc
b138a13948 Fixes, refactors and enhances Linux build-scripts (#8269)
* fixes and refactors linux build scripts
 - build_linux.sh: fixes wrong AppImage build folder; refactors script; enhances help text
 - harmonizes names: BuildLinux.sh and BuildLinuxImage.sh
 - fixes file permissions: cmake inherits .in-file permission; removes chmod 755 in scripts
 - linux.d/debian: removes false positive error message
 - updates documentation

* enables ANSI-colored output for GNU or Clang

* build_linux.sh: adds -p flag to disable PCH for boosting ccache hit rate

* Allow compilation on distributions based on Ubuntu/Debian (#8625)

* build_linux.sh: takes over changes from BuildLinux.sh

* CMakeLists.txt: removes leftovers, enables ANSI-colored output

* CMakeLists.txt: fixes issue where FORCE_COLORED_OUTPUT was not respected form environment (introduces -C cli arg)

* merges 5df4275: Make it easy to pass extra build args to deps and orca in BuildLinux.sh (#9648)
2025-06-15 00:41:20 +08:00
Noisyfox
56a871e758 Enable deploy orca_custom_preset_tests (#9465) 2025-04-24 09:37:05 +08:00
SoftFever
75527b3eaa reenable appimage build on ubuntu 24.04 (#9458)
* reenable appimage build on ubuntu 24.04

* update TIFF

* fix build error
2025-04-24 08:13:15 +08:00
cochcoder
581d6c542a Trigger build workflow when flatpak changes are made (#9105)
Trigger build all for changes under the flatpak folder
2025-03-29 16:18:34 +08:00
SoftFever
ded05d0bc6 deprecate AppImage 2025-03-27 22:55:16 +08:00
SoftFever
e6ff2344af Universal mac build (#9074)
build universal Mac app
2025-03-27 22:53:37 +08:00
SoftFever
b81eb910c7 Automatically update nightly-builds tag 2025-03-21 23:19:10 +08:00
cochcoder
79ca2673d8 Flatpak arm64 support (#8033)
* Add qemu for arm builds on flatpak

* Increase timeout-minutes

Mainly meant to retrigger GitHub actions (free GitHub actions runners have a max runtime of 6 hours)

* Change arm64 flatpak to build barebones, rather than through emulation

This new addition is highlighted in GitHub's new blog post: 
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

* Rename from arm64 to aarch64

* Potental fix for gst-plugins-good compilation

* Initial appimage arm64 builds

* Add inputs.arch variable

* Temporarily completely isolate arm64 and x86 dependencies

* Fix mesa download link and remove temp comments

* Disable libunwind in gst-plugins-good

* Revert changes in build_check_cache.yml

* Disable nls & static options in gst-plugins-good

* Rebase on main

* Re-add flatpak arm build

* Update gst-plugins-good to 1.24.10

This should be the version that received complete arm64 support

* Trying a solution

* Revert "Update gst-plugins-good to 1.24.10"

This reverts commit b416dcd0ae8a908811925ae65f7d49c290e3a194.

* Remove previous build-options

* Try installing the proper arch version of Meson

When building on a local arm64 device it runs properly.

* Remove sudo commands

* Use dnf rather than apt-get

* Try installing meson before the flatpak builder

* Change flatpak runner

This uses a more experimental version of the flatpak runner provided by Flathub

* Temporarily enable artifact upload

* Resolve merge conflicts

* Add arch variable into flatpak name

* Revert to using Gnome 46, rather than Gnome 47

* Add curl dependency

* Revert "Add curl dependency"

This reverts commit 888a0c4a758af58c410a0b45ecca7eb56e359d37.

* Clean up

* Define ubuntu version

Seems to be needed due to the arm version still being in public beta
2025-03-10 22:36:50 +08:00
bo0tzz
08d03b5969 stale bot: exempt "enhancement" label (#8416)
* stale bot: exempt "enhancement" label

Feature requests don't go stale
2025-03-09 16:28:51 +08:00
SoftFever
057ebc0c3d upload Flatpak artifact 2025-03-02 09:17:56 +08:00
SoftFever
fdd60d3ab5 fix empty compatible_printers issues in vendor profiles 2025-02-22 15:53:58 +08:00
SoftFever
b861412e94 add extra profile checks 2025-02-22 15:53:58 +08:00
SoftFever
53ae81eaaf disable flatpak upload (#8306) 2025-02-04 06:36:53 +08:00
SoftFever
b348c4820f fix build errors (#8210)
* fix build errors

* fix windows

* fix flatpak
2025-01-28 01:07:27 +08:00
discip
048aeae380 Preventing nested zipping of the portable Windows build (#7950)
* Update build_orca.yml

Preventing nested zipping of the portable Windows build. 😊

* Update build_orca.yml

* uncommented lines 180-184
2025-01-23 22:10:15 +08:00
dependabot[bot]
1aea3daf97 Bump WebFreak001/deploy-nightly from 3.1.0 to 3.2.0 (#7958)
Bumps [WebFreak001/deploy-nightly](https://github.com/webfreak001/deploy-nightly) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/webfreak001/deploy-nightly/releases)
- [Commits](https://github.com/webfreak001/deploy-nightly/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: WebFreak001/deploy-nightly
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 14:36:57 +08:00
Tom
29a7f6d919 Update build_deps.yml (check for existing directory tree and skips creation if exists) (#7337)
* Update build_deps.yml

Fixes "Build on Windows" so an error isn't thrown if the working directories already exist.

* Update build_deps.yml

* Update build_deps.yml
2025-01-22 14:24:11 +08:00
SoftFever
4cdd4bdf1f Fix flatpak build (#8056) 2025-01-16 00:17:38 +08:00
SoftFever
87a99aed70 Update build_orca.yml 2025-01-07 07:49:43 +08:00
SoftFever
d28a3c290e free mac space 2025-01-06 23:53:33 +08:00
SoftFever
f01cb9e79b nightly build 2024-12-31 12:54:16 +08:00
SoftFever
e7c2fc8c5a 12 2024-12-31 11:28:31 +08:00
SoftFever
3a42398264 11 2024-12-30 23:35:06 +08:00
SoftFever
46cf251f8e keep docker 2024-12-11 23:30:55 +08:00
SoftFever
63458b520d free space 2024-12-11 23:29:56 +08:00
SoftFever
9eca79db1e tweak naming 2024-12-11 22:26:41 +08:00
SoftFever
c0b9cc24a2 disable other jobs temporarily 2024-12-08 12:16:05 +08:00