Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
413 commits
Select commit Hold shift + click to select a range
91e1f3b
Update main.yml
ChristopherHX Sep 5, 2020
72ed3da
Update main.yml
ChristopherHX Sep 5, 2020
93eb16e
Test change
ChristopherHX Sep 5, 2020
ec95025
Update main.yml
ChristopherHX Sep 5, 2020
7952684
Update main.yml
ChristopherHX Sep 5, 2020
181abe9
prepare use of own openssl
ChristopherHX Sep 5, 2020
e96492e
Use own ssl
ChristopherHX Sep 5, 2020
be6cbb1
Update main.yml
ChristopherHX Sep 5, 2020
dabb919
Test2
ChristopherHX Sep 5, 2020
20b685a
Update __main__.py
ChristopherHX Sep 5, 2020
9937b61
Update main.yml
ChristopherHX Sep 5, 2020
d2cb2bd
Test
ChristopherHX Sep 5, 2020
6e1ccf2
Update main.yml
ChristopherHX Sep 5, 2020
ca834a3
Update __main__.py
ChristopherHX Sep 7, 2020
cc550e9
Fix submodule update
ChristopherHX Sep 7, 2020
99758c0
Use upstream client, newer than manifest
ChristopherHX Sep 10, 2020
c834d76
Update __main__.py
ChristopherHX Sep 10, 2020
fc5fcdb
Add 1.16.100.55 (x86, x86_64)
ChristopherHX Sep 10, 2020
ac22755
Reduce verbosity
ChristopherHX Sep 13, 2020
5f739f3
Test new libcshim patch
ChristopherHX Sep 15, 2020
4611eb1
UI manifest now ng again
ChristopherHX Sep 26, 2020
3128231
Reenable macOS 10.10-10.12
ChristopherHX Sep 26, 2020
b1dc95b
cleanup
ChristopherHX Sep 26, 2020
3200f28
Merge 10.10 fix to ng
ChristopherHX Sep 26, 2020
09a40c7
Try caching angle
ChristopherHX Sep 26, 2020
9685778
add missing qt 5.9 extra flag
ChristopherHX Sep 26, 2020
5cd55f9
fix missing dep of buildangle
ChristopherHX Sep 26, 2020
8529ecc
use 10.14 sdk for 32bit angle
ChristopherHX Sep 26, 2020
3c6179c
rebuild
ChristopherHX Sep 26, 2020
2819b60
fix path bug of angle cache
ChristopherHX Sep 26, 2020
6729e3e
brew remove ignore deps
ChristopherHX Sep 26, 2020
54c4bf0
Fix fmod path
ChristopherHX Sep 26, 2020
7cb17f6
Reenable modding
ChristopherHX Sep 26, 2020
1bfc517
Fix modding
ChristopherHX Sep 27, 2020
0c29422
Old version compat
ChristopherHX Sep 27, 2020
b40693d
Fix x86_64 hooking respect USE_RELA
ChristopherHX Sep 27, 2020
d5c3d30
0.1.p2-DMG-x86_64 test
ChristopherHX Sep 29, 2020
8eb4711
0.1.p3
ChristopherHX Sep 30, 2020
1a7284e
Add missing space (Launcherversionsinfo)
ChristopherHX Sep 30, 2020
5b3607f
Add prettyversion to cli
ChristopherHX Oct 2, 2020
cc2096c
Fix versionsdata in launcher macOS
ChristopherHX Oct 2, 2020
528c9af
Add missing space again
ChristopherHX Oct 2, 2020
be6e7e9
0.1.p4-macOS-x86_64
ChristopherHX Oct 4, 2020
b3a1e29
Fix Syntax error
ChristopherHX Oct 4, 2020
49a5b2d
Fix invalid syntax in changelog
ChristopherHX Oct 4, 2020
aacc390
v0.1b1
ChristopherHX Nov 17, 2020
e1b3c80
Fix branch to master
ChristopherHX Nov 17, 2020
0110566
Update python version to build newer protobuf
ChristopherHX Nov 17, 2020
82cf5c6
Rebuild angle
ChristopherHX Nov 17, 2020
0b37d46
Disable Qt5QuickCompiler
ChristopherHX Nov 17, 2020
2425341
Add mcpelauncher-webview to the list of...
ChristopherHX Nov 17, 2020
a8fe29c
Add qml files of mcpelauncher-webview to deploy
ChristopherHX Nov 17, 2020
034bd5e
Final fix for 0.1-b1
ChristopherHX Nov 17, 2020
6aa7739
v0.1b2
ChristopherHX Nov 27, 2020
7708440
flush angle cache
ChristopherHX Nov 27, 2020
3887b7c
failed
ChristopherHX Nov 29, 2020
759aed7
x
ChristopherHX Nov 29, 2020
42cba6c
rip
ChristopherHX Nov 29, 2020
4b5f33c
Update main.yml
ChristopherHX Nov 29, 2020
05f321b
nxt
ChristopherHX Nov 29, 2020
e292fe2
Update main.yml
ChristopherHX Nov 29, 2020
51b79c7
b3
ChristopherHX Dec 1, 2020
46ad614
Update __main__.py
ChristopherHX Dec 1, 2020
884d11e
Update main.yml
ChristopherHX Jan 4, 2021
bdbec51
Disable sysctlbyname, no mac-arm support
ChristopherHX Jan 16, 2021
0cee5f4
not working
ChristopherHX Jan 16, 2021
a3ecf1b
Not working 2
ChristopherHX Jan 16, 2021
e318a5b
Too many errors
ChristopherHX Jan 16, 2021
c443397
Move to workflow_dispatch
ChristopherHX Mar 10, 2021
6a5d069
generate_appcast
ChristopherHX Mar 10, 2021
c4ad6cd
Update sparkle 1/2
ChristopherHX Mar 10, 2021
a3d5c1e
Update Sparkle 2/2
ChristopherHX Mar 10, 2021
38a33da
TestUpdate
ChristopherHX Mar 17, 2021
f32c723
Merge remote-tracking branch 'origin/feature-jnivm' into feature-merge
ChristopherHX Mar 17, 2021
28a432b
Add more options
ChristopherHX Mar 18, 2021
db77d86
Curl follow links
ChristopherHX Mar 18, 2021
18f6338
Small fixes
ChristopherHX Mar 18, 2021
b73fa99
Release v0.1-beta-10 via Buildbot
actions-user Mar 18, 2021
e01a836
Release v0.1-beta-11 via Buildbot
actions-user Mar 18, 2021
f62cfa1
Release v0.1-beta-12 via Buildbot
actions-user Mar 18, 2021
80ef1aa
Release v0.1-beta-13 via Buildbot
actions-user Mar 18, 2021
1bd1447
Release v0.1-beta-14 via Buildbot
actions-user Mar 18, 2021
aab81b9
Add versionsdbremote.txt
ChristopherHX Mar 19, 2021
b1b2b71
Some experiments
ChristopherHX Mar 19, 2021
48b8412
Fix indent
ChristopherHX Mar 19, 2021
1766b9d
Fix invalid tagname
ChristopherHX Mar 19, 2021
d199d44
Print debug info
ChristopherHX Mar 19, 2021
cdc4db5
Fix uploaded xml file
ChristopherHX Mar 19, 2021
0483658
Release v0.1-beta-21 via Buildbot
actions-user Mar 20, 2021
955f031
Downgrade qt5.15.2 to qt5.15.0
ChristopherHX Mar 20, 2021
83d9663
Update download_qt.sh
ChristopherHX Mar 20, 2021
a974a8a
Release v0.1-beta-23 via Buildbot
actions-user Apr 11, 2021
3e5cb82
Hopefully get it to build again
ChristopherHX Apr 11, 2021
2118880
Merge pull request #2 from ChristopherHX/rel
ChristopherHX Apr 11, 2021
9a84e03
Release v0.1-beta-24 via Buildbot
actions-user Apr 12, 2021
831992b
Merge pull request #3 from ChristopherHX/release/v0.1-beta-24
ChristopherHX Apr 13, 2021
edff468
Release v0.2.1 via Buildbot
actions-user May 3, 2021
237182a
Merge pull request #4 from ChristopherHX/release/v0.2.1
ChristopherHX May 3, 2021
594ba0c
Release v0.2.3 via Buildbot (#5)
ChristopherHX Jul 5, 2021
6265249
Release v0.2.5 via Buildbot
actions-user Aug 12, 2021
305b68d
Merge pull request #6 from ChristopherHX/release/v0.2.5
ChristopherHX Aug 12, 2021
477152f
[no ci] fix from 0.3.0-rc1
ChristopherHX Oct 22, 2021
8f19bf6
Release/v0.3.0 (#7)
ChristopherHX Oct 23, 2021
eb06070
Create config.yml
ChristopherHX Oct 23, 2021
20d9c03
[no-ci] Cherry pick two commits
ChristopherHX Nov 3, 2021
328adbe
v0.3.0.1 - Fix whitescreen macOS
ChristopherHX Nov 3, 2021
cc9ce95
v0.3.0.1 - Fix whitescreen
ChristopherHX Nov 3, 2021
003fcea
0.3.0.1
ChristopherHX Nov 3, 2021
a4de039
0.3.2
ChristopherHX Dec 15, 2021
d698c3b
Enable Devmode
ChristopherHX Dec 15, 2021
84b98de
Fix build angle
ChristopherHX Dec 15, 2021
493c6c3
Fix libuv
ChristopherHX Dec 15, 2021
b87d76e
FIx angle again
ChristopherHX Dec 15, 2021
8350410
This repo is so broken :/
ChristopherHX Dec 15, 2021
b9956db
Do not build angle anymore
ChristopherHX Dec 15, 2021
0a7cb79
Fixup
ChristopherHX Dec 15, 2021
20571e0
Fix path
ChristopherHX Dec 15, 2021
e641bdc
fix
ChristopherHX Dec 15, 2021
ce57b43
Macos 12 sigsys (#8)
ChristopherHX Mar 28, 2022
503cccb
0.5.0 (#10)
ChristopherHX Oct 7, 2022
4ad31b9
Update version.txt
ChristopherHX Oct 7, 2022
5cd3e48
revert if change of publish
ChristopherHX Oct 7, 2022
9281bea
[no ci] Cleanup Releases Notes
ChristopherHX Oct 9, 2022
aa8b6bc
[no ci] Add --skip-sync-sources flag
ChristopherHX Oct 22, 2022
ecb3f7d
[no ci] prepare reusable workflow
ChristopherHX Oct 22, 2022
cb0b948
[no ci] fix script
ChristopherHX Oct 22, 2022
edde55d
[skip ci] fix workflow
ChristopherHX Oct 22, 2022
11b2b40
Update main.yml
ChristopherHX Oct 22, 2022
6224cc9
[no ci]
ChristopherHX Oct 23, 2022
b5fd347
[no ci] Update Workflow
ChristopherHX Oct 23, 2022
d4f306e
[no ci]
ChristopherHX Oct 23, 2022
6507e80
Update main.yml
ChristopherHX Oct 23, 2022
5dcd66a
Remove absolute path from ssl cache
ChristopherHX Oct 23, 2022
a3a2cfe
Fix angle cache use same path
ChristopherHX Oct 23, 2022
ac01cf3
[no ci] Revert regression
ChristopherHX Oct 23, 2022
5205320
[no ci] Update upload / download artifact actions
ChristopherHX Oct 24, 2022
f7a11b8
[no ci] Update setup-python
ChristopherHX Oct 27, 2022
176edfa
macOS renderdragon dev (#11)
ChristopherHX Dec 27, 2022
87035da
Metal build (#12)
ChristopherHX Dec 31, 2022
1262c28
[DRAFT] maintenance update
ChristopherHX Dec 31, 2022
5c0ad12
[no ci] fix normal release
ChristopherHX Dec 31, 2022
8b88352
[no ci] Disable Metal
ChristopherHX Jan 8, 2023
fa407d9
0.8.0
ChristopherHX Jan 12, 2023
269b6b5
[no ci]
ChristopherHX Jan 31, 2023
c6f7f50
[DRAFT] v0.8.1
ChristopherHX Feb 4, 2023
a2f57d2
[no ci] reenable metal
ChristopherHX Feb 17, 2023
f5f750e
[no ci] update ANGLE
ChristopherHX Feb 17, 2023
26ac189
Release v0.8.5 via Buildbot (#14)
ChristopherHX Feb 28, 2023
3f8b0e0
[DRAFT] Finish workflow migration (#15)
ChristopherHX Mar 24, 2023
0ec8f4e
[Draft] fix workflow
ChristopherHX Mar 24, 2023
7d6cd9a
[DRAFT] Add build number offset
ChristopherHX Mar 24, 2023
23ca8f0
Release v0.9.0 via Buildbot (#16)
ChristopherHX Apr 4, 2023
c0174c3
Embed m1 preview (#17)
ChristopherHX Apr 15, 2023
eb19816
[DRAFT] Rename libssl and libcrypto m1
ChristopherHX Apr 15, 2023
856b96b
[Draft] Fix add rpath
ChristopherHX Apr 15, 2023
3e31ef1
[DRAFT] v0.9.1
ChristopherHX Apr 15, 2023
4941edb
Skip non dmg artifacts
ChristopherHX Apr 15, 2023
1838c78
fixes a problem that mcpelauncher m1 cannot find mcpelauncher-webview
ChristopherHX May 2, 2023
88ac267
Release v0.10.0 via Buildbot (#18)
ChristopherHX Jun 7, 2023
80541dc
[no ci] Update m1.yml
ChristopherHX Jun 7, 2023
30cd4d2
No longer use m1-dev branch
ChristopherHX Jun 7, 2023
e9418c7
[no ci] Fix powershell parameter passing
ChristopherHX Aug 13, 2023
91d3758
[no ci] workflow dispatch m1 workflow
ChristopherHX Aug 13, 2023
71b961d
[no ci] fix cache save failure
ChristopherHX Aug 13, 2023
52ff5d8
Release v0.11.2 via Buildbot (#20)
ChristopherHX Aug 18, 2023
1916eaf
[no ci] Assign file types like in qt docs
ChristopherHX Sep 8, 2023
d2f9427
Release v0.10.3 via Buildbot (#21)
ChristopherHX Sep 27, 2023
125edc7
Release v0.11.3 via Buildbot (#22)
ChristopherHX Sep 27, 2023
17404aa
Release v0.11.4 via Buildbot
github-actions[bot] Oct 7, 2023
bd23e44
update build scripts and release description
ChristopherHX Oct 7, 2023
534fa9b
[no ci] fix syntax error
ChristopherHX Oct 22, 2023
33010e0
Release v0.12.1 via Buildbot (#24)
ChristopherHX Nov 16, 2023
bf3234e
Remove support for running the Game Launcher via intel binaries under…
ChristopherHX Nov 24, 2023
4a6600e
Bump version
ChristopherHX Nov 24, 2023
2588136
[DRAFT] switch to artifacts v4
ChristopherHX Jan 2, 2024
7e1a0f8
[DRAFT] workaround building old angle
ChristopherHX Jan 2, 2024
7209b61
[DRAFT] Add download step for angle back
ChristopherHX Jan 2, 2024
5793b60
[DRAFT] remove arm64
ChristopherHX Jan 2, 2024
417613b
[no ci] fix it
ChristopherHX Jan 2, 2024
f54d722
[no ci] add openssl to mcpelauncher-ui
ChristopherHX Jan 21, 2024
98cd32c
[Draft] Attempt to fix openssl build failure
ChristopherHX Feb 3, 2024
2c9ba2f
[Draft] downgrade i386 openssl
ChristopherHX Feb 3, 2024
4dbbf6f
[Draft] remove `\` from --args of angle gn
ChristopherHX Feb 3, 2024
21dd54b
[Draft] Try to fix m1 angle
ChristopherHX Feb 3, 2024
e9e9364
[Draft] remove invalid --args
ChristopherHX Feb 3, 2024
d243d1f
Release v0.13.0 via Buildbot (#25)
ChristopherHX Feb 6, 2024
b4e0824
[Draft] test fix build
ChristopherHX Mar 11, 2024
9d7963d
[Draft] Test
ChristopherHX Mar 11, 2024
615468f
Release v0.14.0 via Buildbot (#26)
ChristopherHX Mar 14, 2024
0f673d7
[Draft] Use intel runner
ChristopherHX Apr 24, 2024
2ac60d6
[DRAFT] Downgrade more
ChristopherHX Apr 24, 2024
b58b1b2
[Draft] Update main.yml
ChristopherHX Apr 24, 2024
b99544d
Release v0.14.2 via Buildbot (#28)
ChristopherHX Apr 25, 2024
0b12837
Fix client to client communication
ChristopherHX May 21, 2024
83d247e
[no ci] disable dev mode
ChristopherHX May 31, 2024
208b40b
Release v0.15.0 via Buildbot (#29)
ChristopherHX Jun 6, 2024
8b4a34f
v0.15.1
ChristopherHX Jun 8, 2024
ccf75ba
[no ci] Update Release text
ChristopherHX Jul 6, 2024
d398121
Release v0.15.2 via Buildbot
github-actions[bot] Jul 6, 2024
5fa510c
Release/v1.0.1 (#31)
ChristopherHX Aug 25, 2024
754e632
[no ci] Create README.md
ChristopherHX Sep 1, 2024
02146e7
Release/v0.16.0 (#33)
ChristopherHX Oct 5, 2024
3ab9154
Release/v0.17.0 (#34)
ChristopherHX Oct 22, 2024
5a73093
[no ci] allow building draft / release via dispatch
ChristopherHX Oct 23, 2024
098c3d3
[no ci] fix workflow
ChristopherHX Oct 23, 2024
d3c3c9d
[no ci] sync ci
ChristopherHX Oct 24, 2024
6d8deb5
Release v1.1.2 via Buildbot (#35)
ChristopherHX Dec 4, 2024
99db23c
0.17.2
ChristopherHX Dec 4, 2024
f66d91e
try the best on macos-12
ChristopherHX Dec 4, 2024
6d4cf22
wip
ChristopherHX Dec 4, 2024
dcf4d9b
wip
ChristopherHX Dec 4, 2024
3a5069c
remove autotools
ChristopherHX Dec 4, 2024
43af0b4
wip
ChristopherHX Dec 4, 2024
eabcf9e
try older xcode
ChristopherHX Dec 4, 2024
ceac9cd
[no ci] Create dependabot.yml
ChristopherHX Feb 13, 2025
9c37895
Bump actions/setup-python from 4 to 5 (#36)
dependabot[bot] Feb 13, 2025
fccaa14
Bump actions/download-artifact from 3 to 4 (#37)
dependabot[bot] Feb 13, 2025
d7525aa
Bump actions/upload-artifact from 3 to 4 (#39)
dependabot[bot] Feb 13, 2025
c047a92
[no ci] Bump actions/github-script from 6 to 7 (#40)
dependabot[bot] Feb 13, 2025
6c8b70b
Bump actions/cache from 3 to 4 (#41)
dependabot[bot] Feb 13, 2025
58ab2db
[Draft] switch angle to metal-freeze branch m1
ChristopherHX Feb 14, 2025
f3f91d4
[no ci] I don't like piracy
ChristopherHX Feb 16, 2025
775d999
[no ci] Update sdk sha
ChristopherHX May 10, 2025
f1099bf
Add game mode support (#48)
mrjasonn Sep 18, 2025
b1fea39
[no ci] Set CMAKE_POLICY_VERSION_MINIMUM=4.0
ChristopherHX Sep 28, 2025
c1410a8
[no ci] Refactor cmake_cmd to accept source_dir parameter
ChristopherHX Sep 28, 2025
4d70a64
[no ci] tell cmake to force x86_64
ChristopherHX Sep 28, 2025
1eb2e57
[no ci] meta
ChristopherHX Oct 3, 2025
48eba22
[no ci] bump runner
ChristopherHX Dec 9, 2025
0d7d5a9
[no ci] skip xcode select, but this will break now
ChristopherHX Dec 9, 2025
39ec63a
[no ci] Modify python dependencies installation command
ChristopherHX Dec 18, 2025
376bea3
[no ci] Prepare Legacy sdk
ChristopherHX Dec 20, 2025
6aff4b4
[no ci] correctly skip step
ChristopherHX Dec 20, 2025
1c3821e
fix include dir?
ChristopherHX Dec 20, 2025
b8861c3
Updates
ChristopherHX Dec 20, 2025
c11d668
[no ci] ignore macos failure in branch sync ci
ChristopherHX Dec 28, 2025
f80e4f3
rebuilt
ChristopherHX Jan 2, 2026
2eee1d4
fixes
ChristopherHX Jan 2, 2026
1169623
test
ChristopherHX Jan 3, 2026
ff41897
test
ChristopherHX Jan 3, 2026
047c473
use correct c++ headers
ChristopherHX Jan 3, 2026
e501d93
fix path
ChristopherHX Jan 3, 2026
e6c6a4d
remove include
ChristopherHX Jan 3, 2026
fab5ad3
add c++ components
ChristopherHX Jan 3, 2026
d441b8d
.
ChristopherHX Jan 3, 2026
fed9d7e
add
ChristopherHX Jan 3, 2026
5c7ca05
fix redirect handling
ChristopherHX Jan 3, 2026
8637f28
Update commit hash in mcpelauncher-ui.commit
ChristopherHX Jan 3, 2026
00629da
[DRAFT] Update commit hash in mcpelauncher-ui.commit
ChristopherHX Jan 3, 2026
0e66d1f
docs: add macOS ANGLE Metal, GPU renderer spoofing, and MSA auth trou…
beduldul Aug 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .circleci/config.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Checkout the wiki
url: https://mcpelauncher.readthedocs.io
about: You find useful information about this launcher
- name: Ask on Discord
url: https://discord.gg/TaUNBXr
about: You can ask for help here!
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
inputs:
type:
type: choice
default: draft
options:
- build
- draft
- release
jobs:
read-repo-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Outputs
id: out
run: |
echo "mcpelauncher-ref=$(cat mcpelauncher.commit)" >> $GITHUB_OUTPUT
outputs:
mcpelauncher-ref: ${{ steps.out.outputs.mcpelauncher-ref }}
ci:
needs: read-repo-files
if: (!cancelled())
uses: ./.github/workflows/main.yml
with:
publish: ${{ github.event_name == 'push' && github.server_url == 'https://github.com' || github.event_name == 'workflow_dispatch' && inputs.type == 'release' }}
use-repo-files: true
offset: 400
build-m1: true
draft: ${{ github.event_name == 'workflow_dispatch' && inputs.type == 'draft' }}
mcpelauncher-ref: ${{ needs.read-repo-files.outputs.mcpelauncher-ref || 'ng' }}
secrets: inherit
280 changes: 280 additions & 0 deletions .github/workflows/m1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
name: Manual Build
on:
workflow_call:
inputs:
mcpelauncher-manifest-repo:
description: 'mcpelauncher repo'
default: 'https://github.com/minecraft-linux/mcpelauncher-manifest.git'
type: string
mcpelauncher-manifest-ref:
description: 'mcpelauncher ref'
default: 'ng'
type: string
submodule-refs:
type: string
default: "[]"
workflow_dispatch:
inputs:
mcpelauncher-manifest-repo:
description: 'mcpelauncher repo'
default: 'https://github.com/minecraft-linux/mcpelauncher-manifest.git'
type: string
mcpelauncher-manifest-ref:
description: 'mcpelauncher ref'
default: 'ng'
type: string
submodule-refs:
type: string
default: "[]"

jobs:
openssl:
runs-on: ${{ matrix.OS }}
strategy:
fail-fast: false
matrix:
include:
- OS: macos-latest
deps: ''
sdkroot: ''
version: '11.0'
arch: 'arm64'
opensslflags: darwin64-arm64
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.version }}
cache-name: cache-openssl-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
steps:
- name: Cache openssl
id: cache
uses: actions/cache@v4
with:
path: output
key: ${{ env.cache-name }}
- uses: actions/checkout@v1
if: ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.OS, 'macOS') && matrix.sdkroot != '' && !startsWith(matrix.sdkroot, '/') }}
with:
repository: phracker/MacOSX-SDKs
ref: refs/heads/master
- name: Install Deps
if: ${{ steps.cache.outputs.cache-hit != 'true' && matrix.deps != '' }}
run: ${{ matrix.deps }}
- name: Build OpenSSL
if: steps.cache.outputs.cache-hit != 'true'
shell: pwsh
run: |
if ('${{ matrix.sdkroot }}' -ne '') {
if ('${{ matrix.sdkroot }}'.StartsWith('/')) {
$Env:SDKROOT = '${{ matrix.sdkroot }}'
} else {
$Env:SDKROOT = '${{ github.workspace }}/${{ matrix.sdkroot }}'
}
}
git clone https://github.com/openssl/openssl.git -b openssl-3.2
$INSDIR = (Get-Location).ToString() + "/output"
pushd openssl
perl ./Configure ${{ matrix.opensslflags }} ('--prefix=' + $INSDIR)
make install_sw
- name: Create tar archive
run: |
install_name_tool -id @rpath/libssl.dylib -add_rpath @loader_path/../Frameworks lib/libssl.dylib || :
install_name_tool -id @rpath/libcrypto.dylib -add_rpath @loader_path/../Frameworks lib/libcrypto.dylib || :
tar cJf ../openssl.tar.xz .
working-directory: output
- name: Upload Binary
uses: actions/upload-artifact@v4
with:
name: openssl-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
path: output/
- name: Upload Binary
uses: actions/upload-artifact@v4
with:
name: openssl-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}-tar
path: openssl.tar.xz
angle:
runs-on: ${{ matrix.OS }}
strategy:
fail-fast: false
matrix:
include:
- OS: macos-latest
deps: ''
version: '11.0'
arch: 'arm64'
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.version }}
cache-name: cache-angle-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
steps:
- name: Cache angle
id: cache
uses: actions/cache@v4
with:
path: output
key: ${{ env.cache-name }}
- uses: actions/checkout@v1
if: ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.OS, 'macOS') && matrix.sdkroot != '' && !startsWith(matrix.sdkroot, '/') }}
with:
repository: phracker/MacOSX-SDKs
ref: refs/heads/master
- name: Install Deps
if: ${{ steps.cache.outputs.cache-hit != 'true' && matrix.deps != '' }}
run: ${{ matrix.deps }}
- name: Build angle
if: steps.cache.outputs.cache-hit != 'true'
shell: pwsh
run: |
if ('${{ matrix.sdkroot }}' -ne '') {
if ('${{ matrix.sdkroot }}'.StartsWith('/')) {
$Env:SDKROOT = '${{ matrix.sdkroot }}'
} else {
$Env:SDKROOT = '${{ github.workspace }}/${{ matrix.sdkroot }}'
}
}
$INSDIR = (Get-Location).ToString() + "/output"
mkdir $INSDIR
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
$Env:PATH = $Env:PATH + ':' + $PWD.ToString() + '/depot_tools'
git clone https://github.com/minecraft-linux/angle.git -b metal-freeze
pushd angle
python scripts/bootstrap.py
gclient sync
@"
target_cpu="${{ matrix.arch }}"
is_debug=false
mac_sdk_min="${{ matrix.version }}"
mac_min_system_version="${{ matrix.version }}"
mac_deployment_target="${{ matrix.version }}"
angle_enable_metal=true
angle_enable_swiftshader=false
angle_enable_vulkan=false
"@ > ($INSDIR + "/args.gn")
if ('${{ matrix.sdkroot }}' -ne '') {
echo 'mac_sdk_path="' + $Env:SDKROOT + '"' >> ($INSDIR + "/args.gn")
}
echo "args.gn:"
cat ($INSDIR + "/args.gn")
echo "Confguring"
gn gen ($INSDIR)
autoninja -C ($INSDIR) libEGL libGLESv2
- name: Create tar archive
run: |
tar cJf ../angle.tar.xz .
working-directory: output
- name: Upload Binary
uses: actions/upload-artifact@v4
with:
name: angle-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
path: output/
- name: Upload Binary
uses: actions/upload-artifact@v4
with:
name: angle-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}-tar
path: angle.tar.xz
build:
runs-on: ${{ matrix.OS }}
needs: [ "openssl" ]
strategy:
fail-fast: false
matrix:
include:
- AppImage: false
OS: macos-latest
arch: arm64
version: "11.0"
container: '{}'
deps: |
brew install autoconf automake
echo 'set(CMAKE_SYSTEM_NAME Darwin)' > toolchain.txt
echo 'set(CMAKE_SYSTEM_PROCESSOR aarch64)' >> toolchain.txt
triple: arm64-apple-darwin
cmakeextraflags: ('-DCMAKE_TOOLCHAIN_FILE='+ $INSDIR + '/../toolchain.txt')
openssl: true
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.version }}
CC: clang
CXX: clang++
DEBIAN_FRONTEND: noninteractive
# container: ${{ fromJson(matrix.container) }}
steps:
- uses: actions/checkout@v1
if: ${{ startsWith(matrix.OS, 'macOS') && matrix.sdkroot != '' && !startsWith(matrix.sdkroot, '/') }}
with:
repository: phracker/MacOSX-SDKs
ref: refs/heads/master
- name: Install Deps
shell: pwsh
run: ${{ matrix.deps }}
- name: Sync Submodule Sources
uses: actions/github-script@v7
with:
github-token: none
script: |
var downloadRepo = async function(path, repo, ref) {
await io.mkdirP(path);
await exec.exec("git", ["init"], { cwd: path });
await exec.exec("git", ["remote", "add", "origin", repo], { cwd: path });
await exec.exec("git", ["fetch", "origin", ref], { cwd: path });
await exec.exec("git", ["reset", "--hard", "FETCH_HEAD"], { cwd: path });
await exec.exec("git", ["submodule", "update", "--init", "--recursive"], { cwd: path });
};
await downloadRepo("mcpelauncher", process.env.MCPELAUNCHER_REPO, process.env.MCPELAUNCHER_REF);
var submoduleRefs = JSON.parse(process.env.SUBMODULEREFS);
for(var submoduleRef of submoduleRefs) {
if(submoduleRef.project === "mcpelauncher") {
await exec.exec("git", ["fetch", submoduleRef.origin || "origin", submoduleRef.ref], { cwd: `${submoduleRef.project}/${submoduleRef.path}` });
await exec.exec("git", ["checkout", "FETCH_HEAD"], { cwd: `${submoduleRef.project}/${submoduleRef.path}` });
}
}
env:
SUBMODULEREFS: ${{ inputs.submodule-refs || '[]' }}
MCPELAUNCHER_REPO: ${{ inputs.mcpelauncher-manifest-repo }}
MCPELAUNCHER_REF: ${{ inputs.mcpelauncher-manifest-ref }}
- uses: actions/download-artifact@v4
id: openssl
if: ${{ matrix.openssl }}
with:
name: openssl-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
- name: Building mcpelauncher ${{ inputs.mcpelauncher-manifest-repo }}/${{ inputs.mcpelauncher-manifest-ref }}
shell: pwsh
env:
CC: clang
CXX: clang++
run: |
if ('${{ matrix.sdkroot }}' -ne '') {
if ('${{ matrix.sdkroot }}'.StartsWith('/')) {
$Env:SDKROOT = '${{ matrix.sdkroot }}'
} else {
$Env:SDKROOT = '${{ github.workspace }}/${{ matrix.sdkroot }}'
}
}
mkdir output
mkdir build
$INSDIR = (Get-Location).ToString() + "/output"
${{ matrix.envflags }}
pushd build
$EXTRA_FLAGS = ''
if ('${{steps.openssl.outputs.download-path}}' -ne '') {
brew uninstall --ignore-dependencies openssl@3
if ($EXTRA_FLAGS -ne '') {
$EXTRA_FLAGS += ' '
}
$EXTRA_FLAGS += '-DOPENSSL_ROOT_DIR=${{steps.openssl.outputs.download-path}}'
}
cmake ../mcpelauncher '-DCMAKE_POLICY_VERSION_MINIMUM=4.0' '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_UI=OFF' ('-DCMAKE_INSTALL_PREFIX=' + $INSDIR) -DCMAKE_ASM_FLAGS="--target=${{ matrix.triple }}" -DCMAKE_C_FLAGS="--target=${{ matrix.triple }} ${{ matrix.cflags }}" -DCMAKE_CXX_FLAGS="--target=${{ matrix.triple }} ${{ matrix.cxxflags }}" -DCMAKE_CXX_COMPILER_TARGET=${{ matrix.triple }} $EXTRA_FLAGS ${{ matrix.cmakeextraflags }} '-DMSA_DAEMON_PATH=.' '-DENABLE_DEV_PATHS=OFF' '-DXAL_WEBVIEW_QT_PATH=.'
make install -j4
popd
popd

- name: Create tar archive
run: |
tar cJf ../mcpelauncher.tar.xz .
working-directory: output
- name: Upload Binary
uses: actions/upload-artifact@v4
with:
name: mcpelauncher-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
path: output/
- name: Upload tar
uses: actions/upload-artifact@v4
with:
name: mcpelauncher-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}-tar
path: mcpelauncher.tar.xz
Loading