-
Notifications
You must be signed in to change notification settings - Fork 19
48 lines (46 loc) · 1.33 KB
/
BWFMetaEdit_Checks.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
name: Checks
on: [push, pull_request]
jobs:
Unix:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Dependencies
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update -y
sudo apt-get install -y libxml2-utils libxml2-dev zlib1g-dev qtbase5-dev qtdeclarative5-dev qtquickcontrols2-5-dev libqt5svg5-dev qt5-qmake ffmpeg
fi
if [ "$RUNNER_OS" == "macOS" ]; then
brew install automake qt@5 ffmpeg
fi
- name: Configure
run: |
cd Project/GNU/CLI
autoreconf -if
./configure
- name: Build
run: |
cd Project/GNU/CLI
make
- name: Check
run: |
cd Project/GNU/CLI
make check
- name: Configure GUI
run: |
cd Project/QtCreator
export PATH=/opt/homebrew/opt/qt@5/bin:$PATH
./prepare CONFIG+=c++11 -after QMAKE_MACOSX_DEPLOYMENT_TARGET=10.9
- name: Build GUI
run: |
cd Project/QtCreator
export PATH=/opt/homebrew/opt/qt@5/bin:$PATH
make