-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (40 loc) · 1.28 KB
/
gnulinux.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
name: GNU/Linux (LV2, VST3, Standalone)
on:
push:
branches:
- main
- develop
- 'release/*'
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ARCHIVE_NAME: [geonkick]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up build environment
run: |
sudo apt-get update -qy
sudo apt-get install -y git build-essential cmake libjack-dev libsndfile-dev rapidjson-dev lv2-dev libcairo2-dev texlive-xetex texlive-latex-base pandoc
- name: Build
run: |
mkdir -p build/install
git clone --recursive https://github.com/Geonkick-Synthesizer/vst3sdk.git
VST3SDKPATH=$(pwd)/vst3sdk
cd build
cmake -DCMAKE_INSTALL_PREFIX=./install -DVST3_SDK_PATH=$VST3SDKPATH -DGKICK_DOCUMENTATION=ON ..
make -j 4
make install
tar czf "${{ matrix.ARCHIVE_NAME }}.tar.gz" install
tar cjf "${{ matrix.ARCHIVE_NAME }}.tar.bz2" install
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.ARCHIVE_NAME }}-artifacts
path: |
build/${{ matrix.ARCHIVE_NAME }}.tar.gz
build/${{ matrix.ARCHIVE_NAME }}.tar.bz2