-
Notifications
You must be signed in to change notification settings - Fork 8
50 lines (38 loc) · 1.37 KB
/
package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Rhino Setup Binary Generation
on:
workflow_dispatch
jobs:
build_amd64:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install needed packages
run: |
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/jammy/.\/devel/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get install libgtk-4-dev libadwaita-1-dev gettext desktop-file-utils rustc cargo meson ninja-build -y
- name: Setup
run: sudo meson build && mkdir -p builds/amd64
- name: Build
run: sudo DESTDIR="builds/amd64" ninja -C build install
- uses: actions/[email protected]
with:
name: Rhino Setup (AMD64)
path: build/builds/amd64/
build_arm64:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/[email protected]
- name: Install needed packages
run: |
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/jammy/.\/devel/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get install libgtk-4-dev libadwaita-1-dev gettext desktop-file-utils rustc cargo meson ninja-build -y
- name: Setup
run: sudo meson build && mkdir -p builds/arm64
- name: Build
run: sudo DESTDIR="builds/arm64" ninja -C build install
- uses: actions/[email protected]
with:
name: Rhino Setup (ARM64)
path: build/builds/arm64/