-
-
Notifications
You must be signed in to change notification settings - Fork 15
52 lines (52 loc) · 1.39 KB
/
compile.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
43
44
45
46
47
48
49
50
51
52
name: Build Ipe
on:
push:
paths:
- 'src/**'
jobs:
Build:
runs-on: ubuntu-latest
env:
IPEPREFIX: /usr/local
QT_CFLAGS: >-
-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-I/usr/include/x86_64-linux-gnu/qt6/QtWidgets
-I/usr/include/x86_64-linux-gnu/qt6/QtGui
-I/usr/include/x86_64-linux-gnu/qt6/QtCore
-I/usr/include/x86_64-linux-gnu/qt6
QT_LIBS: -lQt6Widgets -lQt6Gui -lQt6Core
IPESTRICT: 1
IPEQVORONOI: 1
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install build tools
run: |
sudo apt-get install \
qt6-base-dev qt6-base-dev-tools \
liblua5.4-dev libspiro-dev libqhull-r8.0 libqhull-dev
- name: Compile
run: |
cd src
make
- run: 'echo "Status ${{ job.status }}"'
BuildGTK:
runs-on: ubuntu-latest
env:
IPEPREFIX: /usr/local
IPESTRICT: 1
IPEQVORONOI: 1
IPEUI: GTK
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install build tools
run: |
sudo apt-get install \
libgtk2.0-dev \
liblua5.4-dev libspiro-dev libqhull-r8.0 libqhull-dev
- name: Compile
run: |
cd src
make
- run: 'echo "Status ${{ job.status }}"'