Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub CI workflow #118

Merged
merged 2 commits into from
Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Tests

on:
push:
paths:
- '.github/**'
- 'Linux-Application/**'
pull_request:
paths:
- '.github/**'
- 'Linux-Application/**'
release:

jobs:
qt5:
name: Build with Qt 5
runs-on: ubuntu-20.04
steps:

- uses: actions/checkout@v2

- name: Install dependencies
timeout-minutes: 10
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends qt5-default libqt5serialport5-dev libusb-1.0-0-dev

- name: Configure
timeout-minutes: 5
run: cd Linux-Application && qmake -recursive

- name: Build
timeout-minutes: 15
run: make -C Linux-Application

- name: Install
timeout-minutes: 5
run: make -C Linux-Application DESTDIR=/tmp/staging install

qt6:
name: Build with Qt 6
runs-on: ubuntu-22.04
steps:

- uses: actions/checkout@v2

- name: Install dependencies
timeout-minutes: 10
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends qmake6 qt6-base-dev libqt6serialport6-dev libusb-1.0-0-dev

- name: Configure
timeout-minutes: 5
run: cd Linux-Application && qmake6 -recursive

- name: Build
timeout-minutes: 15
run: make -C Linux-Application

- name: Install
timeout-minutes: 5
run: make -C Linux-Application DESTDIR=/tmp/staging install
7 changes: 7 additions & 0 deletions Linux-Application/ddd-tools.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Top level project file for Domesday Duplicator tools

TEMPLATE = subdirs
SUBDIRS = \
DomesdayDuplicator \
dddconv \
dddutil