Skip to content
Closed
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
23 changes: 23 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
image: syso/giada-builder:latest

stages:
- build

build-job:
stage: build
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- wget https://archive.org/download/VST2SDK/vst_sdk2_4_rev2.zip
- unzip vst_sdk2_4_rev2.zip
- mkdir src/deps/vst3sdk/plugininterfaces || exit 0
- cp -r vstsdk2.4/pluginterfaces/vst2.x/ src/deps/vst3sdk/pluginterfaces/
- cp -r vstsdk2.4/pluginterfaces/vst2.x src/deps/vst3sdk/pluginterfaces/
- cmake -B build/ -S . -DWITH_VST3=ON -DWITH_VST2=ON -DCMAKE_BUILD_TYPE=Release -DRASPBERRYPI=ON -DWITH_PULSE=OFF -DWITH_ALSA=OFF
- cd build && make -j6
cache:
paths:
- build
artifacts:
paths:
- build/giada
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
url = https://github.com/monocasual/rtaudio.git
[submodule "src/deps/geompp"]
path = src/deps/geompp
url = git@github.com:monocasual/geompp.git
url = https://github.com/monocasual/geompp.git
[submodule "src/deps/mcl-audio-buffer"]
path = src/deps/mcl-audio-buffer
url = git@github.com:monocasual/mcl-audio-buffer.git
url = https://github.com/monocasual/mcl-audio-buffer.git
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,10 @@ if(WITH_VST2 OR WITH_VST3)
list(APPEND LIBRARIES ${FREETYPE_LIBRARIES})
list(APPEND INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS})
endif()

if(DEFINED ARM)
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -latomic")
endif()

list(APPEND PREPROCESSOR_DEFS
WITH_VST
Expand Down Expand Up @@ -575,4 +579,4 @@ elseif(DEFINED OS_MACOS)
set_target_properties(giada PROPERTIES
XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME YES)

endif()
endif()