Skip to content

Commit

Permalink
Rename ControlGris to ControlGRIS
Browse files Browse the repository at this point in the history
  • Loading branch information
vberthiaume committed Feb 27, 2025
1 parent ed5db28 commit 7cd9419
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ControlGris-builds.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ControlGris CI
name: ControlGRIS CI

on:
push:
Expand Down Expand Up @@ -42,22 +42,22 @@ jobs:
mesa-common-dev libjack-dev
- name: set global JUCE search paths
run: JUCE/Projucer --set-global-search-path linux defaultJuceModulePath /__w/ControlGris/ControlGris/JUCE/modules
run: JUCE/Projucer --set-global-search-path linux defaultJuceModulePath /__w/ControlGRIS/ControlGRIS/JUCE/modules

- name: Generate makefile (Standalone & VST3 only)
run: |
cd JUCE
./Projucer --resave ../ControlGris.jucer --set-exporter LinuxMakefile --set-config Release --set-enabled-targets Standalone,VST3
./Projucer --resave ../ControlGRIS.jucer --set-exporter LinuxMakefile --set-config Release --set-enabled-targets Standalone,VST3
- name: Compile ControlGris (Standalone & VST3 only)
- name: Compile ControlGRIS (Standalone & VST3 only)
run: |
cd Builds/LinuxMakefile
make CXX=clang++-18 CONFIG=Release -j8 Standalone VST3
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ControlGris-Build
name: ControlGRIS-Build
path: Builds/LinuxMakefile/build/*

Build-macOS:
Expand All @@ -73,18 +73,18 @@ jobs:
run: unzip JUCE.zip

- name: set global JUCE search paths
run: JUCE/Projucer.app/Contents/MacOS/Projucer --set-global-search-path osx defaultJuceModulePath /Users/runner/work/ControlGris/ControlGris/JUCE/modules
run: JUCE/Projucer.app/Contents/MacOS/Projucer --set-global-search-path osx defaultJuceModulePath /Users/runner/work/ControlGRIS/ControlGRIS/JUCE/modules

- name: generate Xcode project
run: JUCE/Projucer.app/Contents/MacOS/Projucer --resave ControlGris.jucer
run: JUCE/Projucer.app/Contents/MacOS/Projucer --resave ControlGRIS.jucer

- name: build
run: xcodebuild -project Builds/MacOSX/ControlGris.xcodeproj -scheme "ControlGris - Standalone Plugin" -configuration Release
run: xcodebuild -project Builds/MacOSX/ControlGRIS.xcodeproj -scheme "ControlGRIS - Standalone Plugin" -configuration Release

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ControlGris-Build-macOS
name: ControlGRIS-Build-macOS
path: Builds/MacOSX/build/*

Build-Windows:
Expand All @@ -103,28 +103,28 @@ jobs:
run: JUCE/Projucer --set-global-search-path windows defaultJuceModulePath ${{ github.workspace }}\JUCE\modules

- name: generate Visual Studio project
run: JUCE/Projucer --resave ControlGris.jucer
run: JUCE/Projucer --resave ControlGRIS.jucer

- name: Remove VST3 copy step from .vcxproj #this copy step is useless on the pipeline, and causes it to fail
run: sed -i '/<PostBuildEvent>/,/<\/PostBuildEvent>/d' Builds/VisualStudio2022/ControlGris_VST3.vcxproj
run: sed -i '/<PostBuildEvent>/,/<\/PostBuildEvent>/d' Builds/VisualStudio2022/ControlGRIS_VST3.vcxproj
shell: bash

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2

- name: build shared code
run: msbuild Builds/VisualStudio2022/ControlGris_SharedCode.vcxproj -p:Configuration=Release -p:Platform=x64
run: msbuild Builds/VisualStudio2022/ControlGRIS_SharedCode.vcxproj -p:Configuration=Release -p:Platform=x64

- name: build standalone
run: msbuild Builds/VisualStudio2022/ControlGris_StandalonePlugin.vcxproj -p:Configuration=Release -p:Platform=x64
run: msbuild Builds/VisualStudio2022/ControlGRIS_StandalonePlugin.vcxproj -p:Configuration=Release -p:Platform=x64

- name: build VST3
run: msbuild Builds/VisualStudio2022/ControlGris_VST3.vcxproj -p:Configuration=Release -p:Platform=x64
run: msbuild Builds/VisualStudio2022/ControlGRIS_VST3.vcxproj -p:Configuration=Release -p:Platform=x64

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ControlGris-Build-Windows
name: ControlGRIS-Build-Windows
path: |
Builds/VisualStudio2022/x64/Release/**/*.vst3
Builds/VisualStudio2022/x64/Release/**/*.exe
12 changes: 6 additions & 6 deletions ControlGris.jucer
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<JUCERPROJECT id="m50y5Z" name="ControlGris" projectType="audioplug" pluginFormats="buildAAX,buildAU,buildStandalone,buildVST,buildVST3"
<JUCERPROJECT id="m50y5Z" name="ControlGRIS" projectType="audioplug" pluginFormats="buildAAX,buildAU,buildStandalone,buildVST,buildVST3"
version="1.4.5" bundleIdentifier="com.gris.umontreal.controlgris"
companyName="UdeM" aaxIdentifier="com.udem.GRIS.ControlGris"
pluginManufacturer="UdeM" pluginManufacturerCode="UdeM" pluginCode="Xzz1"
pluginChannelConfigs="{1,1}, {1,2}, {1,4}, {1,6}, {1,8}, {1,12}, {1,16}, {2,2}, {2,4}, {2,6}, {2,8}, {2,12}, {2,16}, {4,4}, {4,6}, {4,8}, {4,12}, {4,16}, {6,6}, {6,8}, {6,12}, {6,16}, {8,8}, {8,12}, {8,16}"
cppLanguageStandard="17" projectLineFeed="&#10;" jucerFormatVersion="1"
companyWebsite="ca.umontreal.musique.gris.controlgris" addUsingNamespaceToJuceHeader="0"
displaySplashScreen="1" defines="JUCE_DISPLAY_SPLASH_SCREEN=0&#10;JUCE_MODAL_LOOPS_PERMITTED=1">
<MAINGROUP id="gDqxm3" name="ControlGris">
<MAINGROUP id="gDqxm3" name="ControlGRIS">
<GROUP id="{2E3D0AD8-9A99-8E89-6614-B686569C7108}" name="Source">
<GROUP id="{32F49E20-AD3C-BA30-3DC6-5BBC5846D431}" name="Misc">
<FILE id="MrPims" name="cg_CartesianVector.cpp" compile="1" resource="0"
Expand Down Expand Up @@ -157,10 +157,10 @@
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" hardenedRuntime="1">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" targetName="ControlGris" osxArchitecture="Native"
<CONFIGURATION isDebug="1" name="Debug" targetName="ControlGRIS" osxArchitecture="Native"
auBinaryLocation="$(HOME)/Library/Audio/Plug-Ins/Components/"
enablePluginBinaryCopyStep="1"/>
<CONFIGURATION isDebug="0" name="Release" targetName="ControlGris" osxArchitecture="Native"
<CONFIGURATION isDebug="0" name="Release" targetName="ControlGRIS" osxArchitecture="Native"
recommendedWarnings="LLVM" enablePluginBinaryCopyStep="1"/>
</CONFIGURATIONS>
<MODULEPATHS>
Expand All @@ -181,8 +181,8 @@
</XCODE_MAC>
<LINUX_MAKE targetFolder="Builds/LinuxMakefile">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" targetName="ControlGris"/>
<CONFIGURATION isDebug="0" name="Release" targetName="ControlGris"/>
<CONFIGURATION isDebug="1" name="Debug" targetName="ControlGRIS"/>
<CONFIGURATION isDebug="0" name="Release" targetName="ControlGRIS"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_core" path="../../../JUCE/modules"/>
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ControlGris
# ControlGRIS

Spatialization plugin for [SpatGris](https://github.com/GRIS-UdeM/SpatGRIS)

## Building the ControlGris VST plugin on Debian (Ubuntu)
## Building the ControlGRIS VST plugin on Debian (Ubuntu)

### Install dependencies

Expand All @@ -18,26 +18,26 @@ Download and extract [Juce 7.0.12](https://github.com/juce-framework/JUCE/releas

The VST3 headers are included in JUCE, but the VST2 are not. The VST2 SDK is deprecated and not distributed anymore by Steinberg. You will need a copy of it if you are to build the VST2 plugin. Extract it somewhere and add it the Projucer global paths.

### Clone ControlGris sources
### Clone ControlGRIS sources

```
git clone [email protected]:GRIS-UdeM/ControlGris.git
git clone [email protected]:GRIS-UdeM/ControlGRIS.git
```

### Build the plugin

1. This step must be done each time the structure of the project changes (new files, new JUCE version, etc.).

```bash
<path/to/Projucer> --resave <path/to/ControlGris.jucer>
<path/to/Projucer> --resave <path/to/ControlGRIS.jucer>
```

2. Make sure the directory `~/.vst` exists.

3. Go to the ControlGris Builds folder, compile the plugin and move a copy to the VST directory.
3. Go to the ControlGRIS Builds folder, compile the plugin and move a copy to the VST directory.

```
cd ControlGris/Builds/LinuxMakeFile
cd ControlGRIS/Builds/LinuxMakeFile
make CXX=clang++-15 CONFIG=Release && cp build/*.so ~/.vst/
```

Expand Down

0 comments on commit 7cd9419

Please sign in to comment.