mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-09-24 17:11:00 +00:00
ci: move to 24.04, add arm64 linux
This commit is contained in:
@@ -46,9 +46,12 @@ jobs:
|
||||
- platform: "macos-latest"
|
||||
args: "--target x86_64-apple-darwin"
|
||||
artifact-name: macos-x86_64
|
||||
- platform: "ubuntu-22.04"
|
||||
- platform: "ubuntu-24.04"
|
||||
args: ""
|
||||
artifact-name: linux
|
||||
- platform: "ubuntu-24.04-arm"
|
||||
args: "--target aarch64-unknown-linux-gnu"
|
||||
artifact-name: linux-arm64
|
||||
- platform: "windows-latest"
|
||||
args: ""
|
||||
artifact-name: windows
|
||||
@@ -60,10 +63,10 @@ jobs:
|
||||
submodules: true
|
||||
|
||||
- name: install dependencies (ubuntu only)
|
||||
if: matrix.platform == 'ubuntu-22.04'
|
||||
if: startsWith(matrix.platform, 'ubuntu')
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libudev-dev
|
||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf libudev-dev
|
||||
|
||||
- name: setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
@@ -84,7 +87,7 @@ jobs:
|
||||
- name: install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
|
||||
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || matrix.platform == 'ubuntu-24.04-arm' && 'aarch64-unknown-linux-gnu' || '' }}
|
||||
|
||||
- name: Rust cache
|
||||
uses: swatinem/rust-cache@v2
|
||||
|
||||
Reference in New Issue
Block a user