-
Notifications
You must be signed in to change notification settings - Fork 100
139 lines (121 loc) · 3.2 KB
/
Linux_ARM64.yml
File metadata and controls
139 lines (121 loc) · 3.2 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
name: Linux_ARM64
on:
push:
branches:
- beta
- master
- stable
- test
pull_request:
branches:
- beta
- master
- stable
jobs:
Linux_ARM64:
runs-on: ubuntu-22.04-arm
env:
UPLOAD_ENABLED: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
steps:
- name: Update package repositories
run: >-
sudo apt update
- name: Install deb packages
run: >-
sudo apt install
dos2unix
gettext
intltool
libao-dev
libasound2-dev
libevdev-dev
libgbm-dev
libgl-dev
libglu-dev
libopenal-dev
libpulse-dev
libudev-dev
libusb-1.0-0-dev
libx11-dev
libx11-xcb-dev
libxcb1-dev
libxcb-glx0-dev
libxcb-icccm4-dev
libxcb-image0-dev
libxcb-keysyms1-dev
libxcb-randr0-dev
libxcb-render-util0-dev
libxcb-shape0-dev
libxcb-shm0-dev
libxcb-sync0-dev
libxcb-xfixes0-dev
libxcb-xinerama0-dev
libxcursor-dev
libxext-dev
libxfixes-dev
libxi-dev
libxinerama-dev
libxrandr-dev
libxrender-dev
x11proto-dev
- name: Print system information
run: |
uname -a
uname
uname -m
- name: Install pip packages
run: |
sudo python3 -m pip install -U pip setuptools
sudo python3 -m pip install -U meson ninja
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache dependencies
uses: actions/cache@v4
id: build_env_cache
with:
path: build/env/_prefix
key: build_env_${{ hashFiles('build/env/**/*') }}_${{ runner.os }}
- name: Build dependencies
if: steps.build_env_cache.outputs.cache-hit != 'true'
run: |
build/env/setup
- name: Update version
if: hashFiles('fsbuild/version') != ''
run: |
fsbuild/version
- name: Bootstrap
if: hashFiles('fsbuild/bootstrap') != ''
run: |
build/env/shell fsbuild/bootstrap
- name: Configure
if: hashFiles('fsbuild/configure') != ''
run: |
build/env/shell fsbuild/configure
- name: Build
run: |
build/env/shell fsbuild/make
- name: Bundle
run: |
build/env/shell fsbuild/bundle
- name: Archive
run: |
fsbuild/archive
- uses: actions/upload-artifact@v4
with:
name: Linux_ARM64
path: fsbuild/_dist/*
- name: Upload build to Dropbox folder
if: >-
env.UPLOAD_ENABLED != null && (
github.ref == 'refs/heads/master' ||
github.ref == 'refs/heads/dev' ||
github.ref == 'refs/heads/beta' ||
github.ref == 'refs/heads/stable'
)
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
DROPBOX_ACCESS_TOKEN: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
run: |
python3 -m pip install dropbox==11.23.0
fsbuild/upload