Skip to content

Commit

Permalink
Update for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ryukau committed Jan 21, 2025
1 parent 78836e4 commit a51f3f6
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 16 deletions.
15 changes: 11 additions & 4 deletions ci/ci_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@ cmake --version
cmake -S . -B build -GXcode -DCMAKE_BUILD_TYPE=Release
cmake --build build -j --config Release

find ./build

ARTIFACT_DIR="./plugins_macOS"
mkdir -p $ARTIFACT_DIR

for artefact in ./build/**/*_artefacts/ ; do
rm -rf "$artefact"/Release/*.a
cp -r "$artefact"/Release/* $ARTIFACT_DIR
done
function copyArtifact () {
for artefact in "$1"/**/*_artefacts/ ; do
rm -rf "$artefact"/Release/*.a
cp -r "$artefact"/Release/* $ARTIFACT_DIR
done
}
copyArtifact ./build/experimental

find $ARTIFACT_DIR # debug
11 changes: 7 additions & 4 deletions ci/ci_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ tree ./build
ARTIFACT_DIR="./plugins_ubuntu"
mkdir -p $ARTIFACT_DIR

for artefact in ./build/**/*_artefacts/ ; do
rm -rf "$artefact"/Release/*.a
cp -r "$artefact"/Release/* $ARTIFACT_DIR
done
function copyArtifact () {
for artefact in "$1"/**/*_artefacts/ ; do
rm -rf "$artefact"/Release/*.a
cp -r "$artefact"/Release/* $ARTIFACT_DIR
done
}
copyArtifact ./build/experimental

echo "UhhyouDebug: Printing $ARTIFACT_DIR"
tree $ARTIFACT_DIR # debug
15 changes: 10 additions & 5 deletions ci/ci_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ tree /A /F ./build # debug
$ARTIFACT_DIR = ".\plugins_windows"
New-Item -Path "$ARTIFACT_DIR" -ItemType "directory" -Force

Get-ChildItem -Path ".\build" -Recurse -Filter "*_artefacts" |
ForEach-Object {
$PLUGIN_DIR = "$($_.FullName)\Release\VST3"
tree /A /F $PLUGIN_DIR # debug
Copy-Item -Recurse -Path "$PLUGIN_DIR\*.vst3" -Destination $ARTIFACT_DIR -Force
function CopyArtifacts {
param ([string]$SearchRootPath)

Get-ChildItem -Path $SearchRootPath -Recurse -Filter "*_artefacts" |
ForEach-Object {
$PLUGIN_DIR = "$($_.FullName)\Release\VST3"
tree /A /F $PLUGIN_DIR # debug
Copy-Item -Recurse -Path "$PLUGIN_DIR\*.vst3" -Destination $ARTIFACT_DIR -Force
}
}
CopyArtifacts ".\build\experimental"

Write-Output "UhhyouDebug: Printing $ARTIFACT_DIR"
tree /A /F $ARTIFACT_DIR # debug
7 changes: 4 additions & 3 deletions experimental/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.22)

add_subdirectory(AmplitudeModulator)
add_subdirectory(EasyOverdrive)
add_subdirectory(SlopeFilter)
add_subdirectory(TwoBandStereo)

# add_subdirectory(EasyOverdrive)
# add_subdirectory(SlopeFilter)
# add_subdirectory(TwoBandStereo)

0 comments on commit a51f3f6

Please sign in to comment.