-
Notifications
You must be signed in to change notification settings - Fork 9
42 lines (41 loc) · 1.15 KB
/
build-linux.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
name: Build on Linux
on:
pull_request_review:
types: [submitted]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: "npm"
cache-dependency-path: "**/package-lock.json"
# qt-lib should be built first as it is a dependency for other packages
- run: npm run ci:qt-lib
- run: npm run compile:qt-lib
- run: npm run ci:all
- run: npm run compile:all
- run: npm run ci-lint:all
- run: npm run package:all
- name: Upload qt-cpp
uses: actions/upload-artifact@v4
with:
name: qt-cpp-vsix
path: qt-cpp/out/*.vsix
- name: Upload qt-qml
uses: actions/upload-artifact@v4
with:
name: qt-qml-vsix
path: qt-qml/out/*.vsix
- name: Upload qt-core
uses: actions/upload-artifact@v4
with:
name: qt-core-vsix
path: qt-core/out/*.vsix
- name: Upload qt-ui
uses: actions/upload-artifact@v4
with:
name: qt-ui-vsix
path: qt-ui/out/*.vsix