Commit graph

166 commits

Author SHA1 Message Date
SoftFever
e29cba2eff Revert "Some flatpak fixing (#5510)"
This reverts commit 657954901f.
2024-07-11 20:27:45 +08:00
Aidan
657954901f
Some flatpak fixing (#5510)
* Use fixed commit for wxwidgets

* disable cache

* Fix imports

* revert some build stuff

* fix python builds

* Don't build OCCT docs, a constexpr borks flatpak

* fix thread import

* Fix import

* Fix import again

* remove git commit

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-07-11 00:07:55 +08:00
SoftFever
c7206dcb8d
Update FUNDING.yml 2024-07-09 21:06:06 +08:00
ElectricalBoy
4ca0b24002
CI: Avoid Linux Asset Name Collision (#5976)
CI: Avoid asset name collision
2024-07-03 19:48:04 +08:00
ElectricalBoy
0b6fc3d389
CI: Build with ubuntu-24.04 (#5919)
* CI: Build with ubuntu-24.04

* Use apt-get in ubuntu-24.04

* Fix step name

* Use alternate approach for detecting libwebkit2gtk version

* CI: Install libfuse2 in ubuntu-24.04

* Reduce repetitive code in workflows

Co-authored-by: Ocraftyone <Ocraftyone@users.noreply.github.com>

* CI: Install libfuse2

Runtime dependency for AppImage

* Fix filenames for nightly deployment

* Properly nest conditional

---------

Co-authored-by: Ocraftyone <Ocraftyone@users.noreply.github.com>
2024-07-01 23:44:49 +08:00
SoftFever
a0dae394e7 Fixed an issue that WIKI action didn't work if it's manually triggered. 2024-07-01 22:19:03 +08:00
SoftFever
c6205fa806 Small tweak for GH workflow 2024-07-01 21:56:02 +08:00
SoftFever
c762a45676 try to fix wiki actions 2024-07-01 21:20:46 +08:00
SoftFever
7e85eb0d7d
Upgrade Mac CI/CD to macos-14 (#5856) 2024-06-25 23:24:39 +08:00
SoftFever
276e03683f disable flatpak CI for now 2024-06-04 18:32:29 +08:00
Aidan
17fec83e5b
Flatpak build (#4175)
* Initial commit for the builder

* fix wx, use hack to install into /app

* add some workarounds for /usr/local

* fix up rest of paths

* attempt to fix wxwebview undef

* figure out why wxwidgets isnt getting its patches applied

* do "proper" patching of wxwidgets

* Flip the flag

* actually append the /usr/local

* restrict package finding to flatpak only

* Update the destdir stuff for mpfr, gmp

* Transfer over all the _destdir, again

* update patch command for all other plats

* initial ci check

* what even happened

* clear ci image

* I doubt this will do anything

* do cleanup after running each step

* remove build objects for flatpak ci

* compress debug info

* Fix MacOS build

* Try saving space after building deps

* No debug info for now

* Do debug info, use thin static archives

* use BSD flag, not --thin

* try building with lto

* Use release, no debug info

* remove lto

* Revert the last 5 commits

* It might require write perms

* Revert "It might require write perms"

This reverts commit 44cec58a5713cb5ebbc44e64e314b88b553b8f75.

* Import fixes for merge

* remove some patch stuff

* the worst hack!

* remove uneeded patches

* Initial commit for the builder

* note to self, go back to regular wx

* attempt to fix wxwebview undef

* do "proper" patching of wxwidgets

* update patch command for all other plats

* what even happened

* -ldep_name-NOTFOUND is still here

* concat patches

* Build wx with flatpak

* more wx shenatigans

* fix a missing import

* build wx with proper flags

* fix imports and libs

* trigger ci

* try fixing mac and windows ci

* remove duplicate definition of freetype

* curl may not have openssl for a dep

* has openssl been found?

* force building

* build images on apple

* cleanup for review

* cleanup cmake files

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-05-25 09:11:19 +08:00
Jamin Collins
98d152a7f5
Act adjustments (#4961)
* remove trailing whitespace from workflow files

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>

* skip upload actions when running in act

* https://github.com/nektos/act

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2024-04-16 20:14:09 +08:00
SoftFever
fbcf1fe08e trigger build for changes in build script 2024-04-10 11:31:47 +08:00
SoftFever
9960ea5bc2
Update pull_request_template.md 2024-04-03 22:33:04 +08:00
SoftFever
84ae3fc48f
Create pull_request_template.md (#4856) 2024-04-03 21:46:34 +08:00
SoftFever
8d62a47b4e fix build CI/CD 2024-03-11 23:01:49 +08:00
SoftFever
fbc8d41778 update deploy-nightly3.1.0 2024-03-11 14:22:17 +08:00
SoftFever
20477bcc40 fix node.js warning
update run_gettext.bat to use own tools
2024-03-11 14:22:17 +08:00
Dzmitry Neviadomski
7b31ee3a45
ENH: Improve macOS build script (#4310)
* ENH: Improve macOS build script

 - Update shebang to bash, as it is already expected to be present in
   run_gettext.sh
 - Added fail-fast shell options.
 - Changed default CMake generator to Ninja
 - Adopted configuration for non-multi-config generators (Ninja, Make)
 - Added new options:
   - Allow to set CMake generator back to Xcode, no option for make
     thou.
   - Allow to build without reconfiguring CMake, improves build times.
     Unnecessary Cmake reconfigurations require full rebuild.
   - Allow to set build configuration for CMake
 - Reorganized targets into separate function to break "cd" dependency.
 - Reformat shell code.
 - Fix all warnings reported by ShellCheck linter tool.
 - Update run_gettext.sh to respect build dir in full mode.

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>

* FIX: Install ninja with brew on CI.

Test if building works with Ninja by default.

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>

* ENH: Set Xcode back as default generator.

Use Ninja on CI with explicit option.

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>

* FIX: Partially revent changes in run_gettext.sh

Revert changes for option parsing.
Leave fixes for issues found by ShellCheck linter tool.

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>

---------

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2024-03-05 22:35:46 +08:00
SoftFever
9f7cec3f44 Fix some xgettext errors 2024-03-02 11:43:18 +08:00
SoftFever
f44eac74ea fix orca_custom_preset_tests 2024-03-01 23:32:15 +08:00
SoftFever
ca0fb9fb75 Fix check_profile 2024-03-01 21:30:35 +08:00
SoftFever
2b6937acbe
Feature/enhance profile validator (#4278)
* check more profile issues

* 1

* update ci/cd

* update name
2024-03-01 21:27:12 +08:00
SoftFever
0e1307ab83
check profile for PRs (#4251)
* check profile for PRs
2024-02-28 22:02:22 +08:00
Eldenroot
4db05c0a0f
Update and rename feature_request.md to feature_request.yml (#4084)
* Update and rename feature_request.md to feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml
2024-02-18 20:14:22 +08:00
Eldenroot
f9849d1302
Update bug_report.yml (#4082)
* Update bug_report.yml

Make it easier and nice r.)

* Update bug_report.yml
2024-02-18 10:15:58 +08:00
Eldenroot
ab11266b10
Make reporting easier - part I (#4080)
* Make reporting easier - part I

Make reporting easier - part I

* Update config.yml
2024-02-14 21:35:29 +08:00
Eldenroot
35f39df1f9
Update orca_bot.yml (#4044)
* Update orca_bot.yml

My mistake, now should be fixed. 

ef9ff99cea

* Update orca_bot.yml
2024-02-14 21:30:26 +08:00
SoftFever
ef9ff99cea fix Orca bot 2024-02-11 12:07:07 +08:00
Eldenroot
7aee6d7e61
Update orca_bot.yml (#3986)
Update orca_bot.yml

I hope this one will make Orca BOT happy again :)
2024-02-10 11:53:03 +08:00
Eldenroot
6937f031db
Update orca_bot.yml (#3798)
* Update orca_bot.yml

Just for discussion :)

Also would be nice to set a different style of "stale" label, maybe with an icon... it is quite not visible on smartphone anr Github app.

* Update orca_bot.yml
2024-01-30 13:02:30 +00:00
SoftFever
0aebd8d002 handle the case when source file and target file is the same file 2024-01-25 21:11:27 +08:00
SoftFever
35ab4c645a fix PR build on lInux 2024-01-25 21:09:55 +08:00
SoftFever
aac618dcb7 Fix build errors on main branch caused by version string 2024-01-25 13:02:29 +08:00
SoftFever
1f00fe92d2
nightly release (#3792)
* nightly release
2024-01-24 11:31:18 +00:00
Ocraftyone
40a980f5d8
CICD: Fail on no cache hit (#3429) 2024-01-06 13:46:53 +08:00
SoftFever
9d59cd66c4 Feature/update deps (#3445)
* update deps

* fix win build errors

* fix mac build

* update linux

(cherry picked from commit 77b6225060fd1b6cbc32865b6397363befd2af1d)
2024-01-04 19:36:04 +08:00
kpishere
044e25d1cf
Feature/build target 10.15 (#3252)
* Set target to 10.15, make porter templates explicit

* CMAKE_OSX_DEPLOYMENT_TARGET refactor

* Update build_release_macos.sh

fix typo

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-12-30 09:12:06 +08:00
SoftFever
78c7abe4c2 workaround to solve unwanted zstd dependency on runner (#3298)
* trigger build

* Remove zstd only for dep build

* reinstall zstd after building completed
2023-12-27 17:01:12 +08:00
SoftFever
98d8b010c4 downgrade to macos-12 as there are not many macos-13 runner instances availble yet 2023-12-27 17:01:12 +08:00
SoftFever
63351c01da upgrade to macos 13 (#3289)
brew uninstall --ignore-dependencies zstd
Use local curl
remove brew/macport dependency
2023-12-27 17:01:12 +08:00
Ocraftyone
75b1a30293
fix pwsh variable in CICD (#3188) 2023-12-19 16:07:30 +08:00
SoftFever
ccd3c44fab fix mac build pack error 2023-12-09 00:34:54 +08:00
SoftFever
9e63d42444 Sign app and notary Mac build for Release branches 2023-12-05 20:55:42 +08:00
SoftFever
2f3ec2ab7d
Build release branches (#2941)
update cicd to build release branches
2023-11-30 23:58:52 +08:00
SoftFever
ebbe5a4d80 fix secrets were not passed from build_check_cache to build_deps 2023-11-19 12:12:01 +08:00
SoftFever
d7453aa20f Fix CICD: failed to sign Mac build 1. upload PDB 2023-11-19 11:23:36 +08:00
SoftFever
07d5a06794 fix windows CICD error 2023-11-18 23:51:55 +08:00
SoftFever
cc55957070 Zip Windows portable build and PDB before upload artifacts 2023-11-18 16:23:40 +08:00
Ocraftyone
cbb7c3381c
Rework Github Build Actions (#2566)
update workflows from dev branch

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-11-18 15:30:06 +08:00