3535 if : github.event_name == 'pull_request'
3636 shell : bash
3737 run : |
38- git submodule update --init --recursive src/3rd_party/qbreakpad/ src/3rd_party/ pdfhummus/ src/3rd_party/pdftextextraction/
38+ git submodule update --init --recursive src/3rd_party/pdfhummus/ src/3rd_party/pdftextextraction/
3939
4040 - name : Add info about dev build to the env
4141 shell : bash
5252 shell : bash
5353 run : |
5454 sudo apt update
55- sudo apt install libgstreamer-plugins-base1.0-0 cmake make pkg-config libx11-dev xcb libx11-xcb-dev libxkbcommon-x11-0 libxkbcommon-dev libgtk-3-dev sassc libfuse2
55+ sudo apt install libgstreamer-plugins-base1.0-0 cmake make pkg-config libx11-dev xcb libx11-xcb-dev libxkbcommon-x11-0 libxkbcommon-dev libgtk-3-dev sassc libfuse2 libcurl4-openssl-dev zlib1g-dev
56+
57+ - name : Build crashpad
58+ shell : bash
59+ run : |
60+ cd build
61+ chmod +x ./build_crashpad.sh
62+ ./build_crashpad.sh
5663
5764 - name : Run QMake
5865 shell : bash
6673 cd src
6774 make -j$(nproc)
6875
76+ - name : Setup Rust
77+ run : |
78+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
79+ source $HOME/.cargo/env
80+ echo "PATH=$PATH:$HOME/.cargo/bin" >> $GITHUB_ENV
81+
82+ - name : Verify Rust
83+ run : |
84+ source $HOME/.cargo/env
85+ cargo --version
86+ rustc --version
87+
88+ - name : Install dependencies for Node.js
89+ run : |
90+ sudo apt-get update
91+ sudo apt-get install -y python3
92+ npm install -g @mapbox/node-pre-gyp cargo-cp-artifact
93+
94+ - name : Setup Node.js
95+ uses : actions/setup-node@v4
96+ with :
97+ node-version : ' 22'
98+
99+ - name : Install node-dump-syms
100+ run : |
101+ npm i -g node-dump-syms
102+
103+ - name : Upload Symbols for .so files
104+ uses : BugSplat-Git/symbol-upload@main
105+ with :
106+ username : " ${{ secrets.BUGSPLAT_USER }}"
107+ password : " ${{ secrets.BUGSPLAT_PASSWORD }}"
108+ database : " ${{ secrets.BUGSPLAT_DATABASE }}"
109+ application : " starcapp-linux"
110+ version : " ${{ env.APP_VERSION }}"
111+ files : " **/*.so"
112+ directory : " src/_build"
113+ node-version : " 22"
114+ dumpSyms : true
115+
116+ - name : Upload Symbols for starcapp
117+ uses : BugSplat-Git/symbol-upload@main
118+ with :
119+ username : " ${{ secrets.BUGSPLAT_USER }}"
120+ password : " ${{ secrets.BUGSPLAT_PASSWORD }}"
121+ database : " ${{ secrets.BUGSPLAT_DATABASE }}"
122+ application : " starcapp-linux"
123+ version : " ${{ env.APP_VERSION }}"
124+ files : " starcapp"
125+ directory : " src/_build"
126+ node-version : " 22"
127+ dumpSyms : true
128+
69129 - name : Make AppImage
70130 shell : bash
71131 run : |
@@ -112,7 +172,7 @@ jobs:
112172 if : github.event_name == 'pull_request'
113173 shell : bash
114174 run : |
115- git submodule update --init --recursive src/3rd_party/qbreakpad/ src/3rd_party/ pdfhummus/ src/3rd_party/pdftextextraction/
175+ git submodule update --init --recursive src/3rd_party/pdfhummus/ src/3rd_party/pdftextextraction/
116176
117177 - name : Add info about dev build to the env
118178 shell : bash
@@ -130,7 +190,14 @@ jobs:
130190 shell : bash
131191 run : |
132192 sudo apt update
133- sudo apt install libgstreamer-plugins-base1.0-0 cmake make pkg-config libx11-dev xcb libx11-xcb-dev libxkbcommon-x11-0 libxkbcommon-dev libgtk-3-dev sassc libfuse2 libxcb-cursor0
193+ sudo apt install libgstreamer-plugins-base1.0-0 cmake make pkg-config libx11-dev xcb libx11-xcb-dev libxkbcommon-x11-0 libxkbcommon-dev libgtk-3-dev sassc libfuse2 libxcb-cursor0 libcurl4-openssl-dev zlib1g-dev
194+
195+ - name : Build crashpad
196+ shell : bash
197+ run : |
198+ cd build
199+ chmod +x ./build_crashpad.sh
200+ ./build_crashpad.sh
134201
135202 - name : Run QMake
136203 shell : bash
@@ -144,6 +211,59 @@ jobs:
144211 cd src
145212 make -j$(nproc)
146213
214+ - name : Setup Rust
215+ run : |
216+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
217+ source $HOME/.cargo/env
218+ echo "PATH=$PATH:$HOME/.cargo/bin" >> $GITHUB_ENV
219+
220+ - name : Verify Rust
221+ run : |
222+ source $HOME/.cargo/env
223+ cargo --version
224+ rustc --version
225+
226+ - name : Install dependencies for Node.js
227+ run : |
228+ sudo apt-get update
229+ sudo apt-get install -y python3
230+ npm install -g @mapbox/node-pre-gyp cargo-cp-artifact
231+
232+ - name : Setup Node.js
233+ uses : actions/setup-node@v4
234+ with :
235+ node-version : ' 22'
236+
237+ - name : Install node-dump-syms
238+ run : |
239+ npm i -g node-dump-syms
240+
241+ - name : Upload Symbols for .so files
242+ uses : BugSplat-Git/symbol-upload@main
243+ with :
244+ username : " ${{ secrets.BUGSPLAT_USER }}"
245+ password : " ${{ secrets.BUGSPLAT_PASSWORD }}"
246+ database : " ${{ secrets.BUGSPLAT_DATABASE }}"
247+ application : " starcapp-linux"
248+ version : " ${{ env.APP_VERSION }}"
249+ files : " **/*.so"
250+ directory : " src/_build"
251+ node-version : " 22"
252+ dumpSyms : true
253+
254+ - name : Upload Symbols for starcapp
255+ uses : BugSplat-Git/symbol-upload@main
256+ with :
257+ username : " ${{ secrets.BUGSPLAT_USER }}"
258+ password : " ${{ secrets.BUGSPLAT_PASSWORD }}"
259+ database : " ${{ secrets.BUGSPLAT_DATABASE }}"
260+ application : " starcapp-linux"
261+ version : " ${{ env.APP_VERSION }}"
262+ files : " starcapp"
263+ directory : " src/_build"
264+ node-version : " 22"
265+ dumpSyms : true
266+
147267 - name : Make AppImage
148268 shell : bash
149269 run : |
0 commit comments