-
-
Notifications
You must be signed in to change notification settings - Fork 42
37 lines (28 loc) · 916 Bytes
/
testing.yml
File metadata and controls
37 lines (28 loc) · 916 Bytes
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
name: Test Build
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
modules: 'qtcore qtgui qtwidgets qtopengl qtnetwork qtsvg qtscript qtscripttools qtprintsupport qtdatavis3d'
- name: clone repository
uses: actions/checkout@v2
- name: Install Dependantcies And Make Linux
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update -qq
sudo apt-get install -y libgsl-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev
qmake CONFIG+=linux_all_dynamic
make
- name: Install Dependantcies And Make Mac
if: startsWith(matrix.os, 'mac')
run: |
brew install gsl
qmake CONFIG+=osx_dist
make