Skip to content

Commit 4be12bb

Browse files
authored
Update c-cpp.yml
1 parent 030c2b4 commit 4be12bb

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

.github/workflows/c-cpp.yml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,40 @@
1-
name: C/C++ CI
1+
name: Familiar CI
22

33
on:
44
push:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
88

9+
defaults:
10+
run:
11+
shell: bash
12+
13+
env:
14+
SOURCE_DIR: ${{ github.workspace }}
15+
QT_VERSION: 5.15.2
16+
ARTIFACT: qt-planets-linux-build.AppImage
17+
918
jobs:
1019
build:
1120

1221
runs-on: ubuntu-latest
1322

1423
steps:
15-
- uses: actions/checkout@v3
16-
- name: configure
17-
run: qmake
18-
- name: make
19-
run: make
24+
- name: Checkout repo
25+
uses: actions/checkout@v3
26+
- name: Install Qt
27+
uses: jurplel/install-qt-action@v2
28+
with:
29+
host: linux
30+
target: desktop
31+
arch: gcc_64
32+
dir: ${{ runner.temp }}
33+
modules: qtcharts qt3d
34+
setup-python: false
35+
- name: Create build directory
36+
run: mkdir ${{ env.SOURCE_DIR }}/build
37+
- name: Configure Qmake
38+
run: qmake
39+
- name: make
40+
run: make

0 commit comments

Comments
 (0)