Commit Graph

152 Commits

Author SHA1 Message Date
DioEgizio
dcfc15a0a1 feat+fix: move codeql to its own workflow
i think it's better practice, it should slightly improve linux qt6 build times and i noticed ccache? is messing up with it because alerts get randomly fixed

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-11-13 18:54:55 +01:00
DioEgizio
841c2e9166 fix: disable caching Qt on release
it's good practice to not cache on release builds

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-11-13 18:54:55 +01:00
DioEgizio
07392d493c fix: disable building snaps on release
the snap infra should already be able to deal with it, i think

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-11-13 18:54:55 +01:00
Sefa Eyeoglu
695734636f
Merge pull request #294 from piperswe/add-snapcraft-yml 2022-11-05 11:09:51 +01:00
TheLastRar
98444bd865 CI: Add VC variables before packaging on Windows
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-11-04 18:11:39 +00:00
TheLastRar
3f75e1cb1d CI: Build MSVC Legacy as 32bit
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-11-04 18:11:39 +00:00
TheLastRar
4f327120ac CI: Link to release libraries even in debug
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-11-04 18:11:39 +00:00
TheLastRar
cc8456ec6b CI: Use msbuild generator for msvc builds
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-11-04 18:11:38 +00:00
TheLastRar
372ce588cd CI: Add MSVC Builds
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-11-04 18:11:38 +00:00
TheLastRar
d52868c6c5 CI: Exclude zlib tests
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-11-04 18:11:36 +00:00
renovate[bot]
c6ab9718ae
chore(deps): update hendrikmuhs/ccache-action action to v1.2.5 2022-11-03 19:50:27 +00:00
renovate[bot]
7eb0b1c69a
chore(deps): update hendrikmuhs/ccache-action action to v1.2.4 2022-11-02 23:02:32 +00:00
DioEgizio
a5be974f1a feat: use clang64 on qt6 builds
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-10-28 08:05:31 +02:00
DioEgizio
952615eadb
Merge pull request #301 from DioEgizio/clang-attempt
feat(actions): use clang32 for building on windows
2022-10-28 07:54:17 +02:00
DioEgizio
d35c985d2e feat(actions): use clang32 for building on windows
*way* faster

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-10-27 21:23:17 +02:00
Piper McCorkle
aacf7938ae Add CI build for Snap
Signed-off-by: Piper McCorkle <contact@piperswe.me>
2022-10-26 09:25:58 -05:00
tobimori
d9463620e6 move .app rename to packaging process, update mac copyright string
Signed-off-by: tobimori <tobias@moeritz.cc>
2022-10-25 09:34:07 +02:00
Tobias Möritz
500a7eceab
update macOS build process to work with new .app
Signed-off-by: Tobias Möritz <tobias@moeritz.cc>
2022-10-22 15:10:32 +02:00
txtsd
819296cc9c
Merge pull request #198 from PrismLauncher/renovate/hendrikmuhs-ccache-action-1.x 2022-10-21 22:13:09 +05:30
renovate[bot]
09e4e100a2
chore(deps): update hendrikmuhs/ccache-action action to v1.2.3 2022-10-21 14:55:49 +00:00
renovate[bot]
bdd5c180d3
chore(deps): update actions/cache action to v3.0.11 2022-10-21 14:55:42 +00:00
Sefa Eyeoglu
a8bcb85f7b
fix(actions): change to PrismLauncher
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-10-18 10:13:44 +02:00
DioEgizio
2aff7bac4a fix: disable updater on macOS-Legacy
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-10-14 15:58:16 +02:00
DioEgizio
2901039a48 feat(actions): macOS-Legacy package
still no updater part though

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-10-14 14:08:05 +02:00
DioEgizio
80e9eed35a fix: remove old unused lgtm.yml, exclude cpp/fixme-comment
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-10-04 16:17:57 +02:00
DioEgizio
23b3990f99 feat(code scanning): enable security-and-quality query
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-10-04 16:17:57 +02:00
DioEgizio
41276403df feat(actions): add codeql code scanning
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-10-04 16:17:57 +02:00
flow
8c41ff68f7
chore(actions)!: bump macOS required version to 10.15
This is needed for std::filesystem support in macOS's libc.

Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12 18:41:13 -03:00
DioEgizio
69d18f17a5
fix(actions, win): only copy openssl libs on qt5 builds (#1130) 2022-09-12 07:57:18 -03:00
DioEgizio
03c148ce50 chore: update install-qt-action to v3
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-09-06 15:41:32 +02:00
flow
293c1deee5
Merge pull request #1014 from DioEgizio/downgrade-qt-macos
chore: downgrade to Qt 6.3.0 on macos
2022-08-04 12:56:55 -07:00
DioEgizio
bca1fef2b2 chore: downgrade to Qt 6.3.0 on macos
seems to fix some emoji-related issues

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-08-02 10:59:54 +02:00
DioEgizio
5f1efbeb67 fix: work around ubuntu 22.04 openssl appimage issues by copying openssl libs
terrible hack but it works™️

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-08-01 09:57:14 +02:00
Sefa Eyeoglu
0f1d51f866
Update .github/workflows/build.yml
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-22 22:11:53 +02:00
DioEgizio
7a13412ec7 feat(actions): package and deliver qt6 tarballs
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-07-19 17:07:34 +02:00
txtsd
6732b77594
chore(actions): Remove superfluous whitespace
Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
2022-07-15 22:40:12 +05:30
DioEgizio
3e4346e321 feat(actions): bring back qt caching
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-07-15 10:02:11 +02:00
timoreo
1a26a53659
Merge pull request #901 from txtsd/scdoc 2022-07-11 14:56:19 +02:00
flow
548a2a1d64
Merge pull request #900 from DioEgizio/CI/fix
fix(actions): fix ccache on windows
2022-07-11 08:02:27 -03:00
txtsd
df01a58099
feat(ci): Install scdoc to build manpage
Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
2022-07-11 14:30:46 +05:30
DioEgizio
b1805b70ea
fix(actions): fix ccache on windows
Also removes some unnecessary dependencies for the generic Linux package

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-07-11 08:13:02 +02:00
Sefa Eyeoglu
b3b76d5d56
Merge branch 'develop' into feature/sparkle-mac
# Conflicts:
#	.github/workflows/build.yml
2022-07-10 19:38:30 +02:00
Sefa Eyeoglu
d77237ca5d
refactor(actions): rename Windows builds
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10 12:19:15 +02:00
Sefa Eyeoglu
211d596fdd
refactor(actions): switch to system QuaZip on Windows
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10 12:19:15 +02:00
Sefa Eyeoglu
203c3ec233
refactor(actions): speed up package installations for Windows
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10 12:19:15 +02:00
Sefa Eyeoglu
e2a74dfc30
feat(actions): enable Windows-i686 Qt 6 builds
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10 12:19:15 +02:00
Sefa Eyeoglu
fdf5748029
feat(actions): use Qt 6 on macOS and AppImage
Co-authored-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10 12:19:15 +02:00
flow
fb75c23f4e
Merge pull request #784 from Scrumplex/refactor-cmake
Refactor tests
2022-07-02 17:50:08 -03:00
Sefa Eyeoglu
3fbbaddece
fix(actions): install extra-cmake-modules 2022-06-14 14:44:49 +02:00
Sefa Eyeoglu
ba939c92ec
feat(actions): test before packaging 2022-06-14 14:44:49 +02:00
DioEgizio
c04e38d011
update macos runner to macos 12 2022-06-12 19:13:19 +02:00
Kenneth Chew
8731c86d0d
Use CMake for Windows installer branding
As a side effect, fixes an issue where the installer wrote the incorrect version to the registry.
2022-05-29 19:50:44 -04:00
DioEgizio
c988b4d213 fix appimage not having imageformats
fixes stuff like the iris icon
2022-05-22 17:26:27 +02:00
txtsd
fbe84f9e47
Merge pull request #614 from txtsd/ccache_release_fix
Avoid invoking ccache on Release builds
2022-05-22 16:16:14 +05:30
txtsd
bfffcb3910
fix(workflow): Avoid invoking ccache on Release builds 2022-05-22 13:42:33 +05:30
Kenneth Chew
3bc02b9662
Fix Sparkle signing step 2022-05-21 13:23:02 -04:00
Kenneth Chew
b1f486518e
Use GitHub Actions to get signature for Sparkle
Requires a secret called `SPARKLE_ED25519_KEY`, in the format of a private key file
2022-05-21 00:32:14 -04:00
Kenneth Chew
cdd83c279c
Remove portable option in Windows installer 2022-05-20 17:12:08 -04:00
Kenneth Chew
cbc8c1aed6
Use consistent naming scheme
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-05-20 15:56:13 -04:00
Kenneth Chew
2b52cf01f5
Build Windows installer 2022-05-16 15:23:32 -04:00
txtsd
239e4adf29
refactor(workflow): Only use ccache on Debug builds 2022-05-01 00:34:37 +05:30
txtsd
ece5ca52b2
feat(workflow): Use ccache 2022-04-30 17:26:34 +05:30
DioEgizio
efe4e7df06 fix some appimage issues building with qt 5.15.2
some users are having weird scaling issues since we're using qt 5.12.8 for the appimage
2022-04-28 18:17:02 +02:00
Sefa Eyeoglu
c7563a5f7c
Merge pull request #454 from kthchew/feature/hardened-runtime 2022-04-19 21:47:57 +02:00
Kenneth Chew
9462dd3ddc
Improve security by enabling hardened runtime for macOS
This change also fixes a bug on recent versions of macOS where Minecraft mods that requested access to the microphone would silently fail.
2022-04-19 11:36:03 -04:00
Sefa Eyeoglu
c3524a9d57
fix: bundle binary tarball as user root 2022-04-19 16:18:11 +02:00
DioEgizio
1bb35b9204 specify -DLauncher_BUILD_PLATFORM on CI builds
more cool
also maybe helps with updater?
2022-04-18 12:22:53 +02:00
DioEgizio
0c581cfb62
CHANGE: use Qt 5.15.3 (from brew) on macos
More updated Qt means less bugs and generally less issues.
The only drawback is losing MacOS Sierra support
2022-04-17 09:53:30 +02:00
Sefa Eyeoglu
abdb846c3f
fix: set install prefix for Linux to /usr 2022-04-16 18:13:12 +02:00
Sefa Eyeoglu
b0b6dd8f87
fix(actions): remove macdeployqt 2022-04-16 18:13:12 +02:00
Sefa Eyeoglu
4a971226e4
refactor(actions): combine steps for unified builds 2022-04-16 18:13:12 +02:00
Sefa Eyeoglu
8c98cc9458
Merge pull request #333 from oynqr/build/lto 2022-04-15 16:02:06 +02:00
DioEgizio
d2ffaee9f8 remove deadcode in CI 2022-04-03 14:43:02 +02:00
DioEgizio
54d2c91320 bring back portable linux builds 2022-03-26 07:06:37 +01:00
Philipp David
471ea680a5
Update used actions and cleanup release flow 2022-03-23 16:18:25 +01:00
Philipp David
d252917792
Enable LTO for Actions 2022-03-23 11:40:19 +01:00
DioEgizio
c6b1a776dc
fix some typos 2022-03-22 07:38:00 +01:00
DioEgizio
8accb6f04e
fix typos
opz :P
2022-03-21 19:29:33 +01:00
DioEgizio
d1d055564c
fix typo 2022-03-21 19:21:09 +01:00
DioEgizio
2741c58a01
bring back notportable builds 2022-03-21 19:11:55 +01:00
Philipp David
6202525372
Readd short rev to artifact names 2022-03-18 22:28:52 +01:00
Philipp David
f01b8f29c6
Use Temurin instead of AdoptOpenJDK 2022-03-17 23:32:44 +01:00
Philipp David
440e9731e2
Switch to msys2 for Windows builds 2022-03-17 22:06:06 +01:00
txtsd
c1201997a3
Fix Ubuntu system Qt failure 2022-03-10 13:38:16 +05:30
txtsd
69d01204e0
Implement PR suggestions 2022-02-23 16:22:53 +05:30
txtsd
1e3b896fda
Replace layouts with LAUNCH_PORTABLE 2022-02-23 16:22:23 +05:30
txtsd
f9d4751ec0
Use System Qt for generic Linux build 2022-02-22 20:40:16 +05:30
txtsd
5bbb4f31dc
Add generic Linux system builds 2022-02-21 21:48:31 +05:30
txtsd
8596753a63
Allow building release builds and…
…trigger GH release using tags
2022-02-15 14:24:52 +05:30
txtsd
fb14796ed7
Adjust OpenSSL step 2022-02-12 14:56:15 +05:30
txtsd
e97a6ef957
Unsplit OpenSSL step 2022-02-12 00:19:11 +05:30
txtsd
b9be8d08d2
Remove superfluous variable 2022-02-11 18:05:26 +05:30
txtsd
33d369d78c
Add missing deploy flags 2022-02-11 18:05:26 +05:30
txtsd
0e6e6a7521
Remove generic Linux builds
They don't necessarily run on all distros
2022-02-11 18:05:26 +05:30
txtsd
eb692c2ee9
Split OpenSSL step 2022-02-11 18:05:26 +05:30
txtsd
3eee38fedd
Make 32bit Windows build instead 2022-02-11 18:05:26 +05:30
txtsd
0ba61bb590
Implement even more PR suggestions 2022-02-11 18:05:26 +05:30
txtsd
9497485103
Implement more PR suggestions 2022-02-11 18:05:26 +05:30
txtsd
551d9c86ba
Implement PR suggestions 2022-02-11 18:05:26 +05:30
txtsd
e61e827eb9
Use Adoptium JREs 2022-02-11 18:05:26 +05:30