-
Notifications
You must be signed in to change notification settings - Fork 16
54 lines (50 loc) · 1.4 KB
/
build.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
53
54
name: Build LDView
on: [push, pull_request]
jobs:
build-ubuntu:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install developement packages
run: sudo ./QT/docker/install-devel-packages.sh
- name: Build LDView
run: cd QT ; sed -i 's/kdelibs5-dev//g' debian/control ; ./makedeb -qt5
build-fedora:
runs-on: ubuntu-22.04
container:
image: fedora:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install developement packages
run: sudo ./QT/docker/install-devel-packages.sh
- name: Build LDView
run: cd QT ; mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} ; ./makerpm
build-windows:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build LDView
shell: cmd
run: .\build.cmd
build-windows-2022:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build LDView
shell: cmd
run: .\build.cmd
build-mac:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build LDView
run: cd MacOSX/LDView ; xcodebuild