-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (37 loc) · 1.05 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
name: Build on Linux
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ci-scripts
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-official
uses: actions/upload-artifact@v4
with:
name: qt-official-vsix
path: qt-official/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