Skip to content

Commit 6e3f052

Browse files
committed
Fix plugin building
1 parent 70a9ab6 commit 6e3f052

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ jobs:
117117
New-Item -Path 'OEPlugins' -ItemType Directory -Force
118118
git clone --branch main https://github.com/open-ephys-plugins/open-ephys-data-format.git OEPlugins\open-ephys-data-format
119119
cd OEPlugins\open-ephys-data-format\Build
120-
cmake -G "Visual Studio 17 2022" -A x64 ..
120+
$mainRepoPath = (Resolve-Path "..\..\").Path
121+
cmake -G "Visual Studio 17 2022" -A x64 -DPLUGIN_HEADER_PATH="$mainRepoPath\Plugins\Headers" -DJUCE_DIRECTORY="$mainRepoPath\JuceLibraryCode" ..
121122
msbuild ALL_BUILD.vcxproj -p:Configuration=Release -p:Platform=x64 -m
122123
- name: Install open-ephys-data-format
123124
shell: powershell
@@ -145,7 +146,8 @@ jobs:
145146
New-Item -Path 'OEPlugins' -ItemType Directory -Force
146147
git clone --branch main https://github.com/open-ephys-plugins/OpenEphysHDF5Lib.git OEPlugins\OpenEphysHDF5Lib
147148
cd OEPlugins\OpenEphysHDF5Lib\Build
148-
cmake -G "Visual Studio 17 2022" -A x64 ..
149+
$mainRepoPath = (Resolve-Path "..\..\").Path
150+
cmake -G "Visual Studio 17 2022" -A x64 -DPLUGIN_HEADER_PATH="$mainRepoPath\Plugins\Headers" -DJUCE_DIRECTORY="$mainRepoPath\JuceLibraryCode" ..
149151
msbuild ALL_BUILD.vcxproj -p:Configuration=Release -p:Platform=x64 -m
150152
- name: Install OpenEphysHDF5Lib
151153
shell: powershell
@@ -173,7 +175,8 @@ jobs:
173175
New-Item -Path 'OEPlugins' -ItemType Directory -Force
174176
git clone --branch main https://github.com/open-ephys-plugins/nwb-format.git OEPlugins\nwb-format
175177
cd OEPlugins\nwb-format\Build
176-
cmake -G "Visual Studio 17 2022" -A x64 ..
178+
$mainRepoPath = (Resolve-Path "..\..\").Path
179+
cmake -G "Visual Studio 17 2022" -A x64 -DPLUGIN_HEADER_PATH="$mainRepoPath\Plugins\Headers" -DJUCE_DIRECTORY="$mainRepoPath\JuceLibraryCode" ..
177180
msbuild ALL_BUILD.vcxproj -p:Configuration=Release -p:Platform=x64 -m
178181
- name: Install nwb-format
179182
shell: powershell

0 commit comments

Comments
 (0)