Skip to content

Commit 70a9ab6

Browse files
committed
Update plugin paths relative to repo
1 parent bc3f124 commit 70a9ab6

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/workflows/tests.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ jobs:
7676
restore-keys: |
7777
windows-build-
7878
- name: configure
79-
if: steps.build-cache.outputs.cache-hit != 'true'
8079
run: |
8180
cd Build
8281
cmake -G "Visual Studio 17 2022" -A x64 ..
@@ -107,85 +106,85 @@ jobs:
107106
uses: actions/cache@v4
108107
id: cache-data-format
109108
with:
110-
path: C:\OEPlugins\open-ephys-data-format
109+
path: OEPlugins/open-ephys-data-format
111110
key: plugin-data-format-${{ steps.plugin-hashes.outputs.data-format }}
112111
restore-keys: |
113112
plugin-data-format-
114113
- name: Build open-ephys-data-format
115114
if: steps.cache-data-format.outputs.cache-hit != 'true'
116115
shell: powershell
117116
run: |
118-
New-Item -Path 'C:\OEPlugins' -ItemType Directory -Force
119-
git clone --branch main https://github.com/open-ephys-plugins/open-ephys-data-format.git C:\OEPlugins\open-ephys-data-format
120-
cd C:\OEPlugins\open-ephys-data-format\Build
117+
New-Item -Path 'OEPlugins' -ItemType Directory -Force
118+
git clone --branch main https://github.com/open-ephys-plugins/open-ephys-data-format.git OEPlugins\open-ephys-data-format
119+
cd OEPlugins\open-ephys-data-format\Build
121120
cmake -G "Visual Studio 17 2022" -A x64 ..
122121
msbuild ALL_BUILD.vcxproj -p:Configuration=Release -p:Platform=x64 -m
123122
- name: Install open-ephys-data-format
124123
shell: powershell
125124
run: |
126-
cd C:\OEPlugins\open-ephys-data-format\Build
125+
cd OEPlugins\open-ephys-data-format\Build
127126
msbuild INSTALL.vcxproj -p:Configuration=Release -p:Platform=x64
128127
- name: Save open-ephys-data-format cache
129128
if: steps.cache-data-format.outputs.cache-hit != 'true'
130129
uses: actions/cache@v4
131130
with:
132-
path: C:\OEPlugins\open-ephys-data-format
131+
path: OEPlugins/open-ephys-data-format
133132
key: plugin-data-format-${{ steps.plugin-hashes.outputs.data-format }}
134133
- name: Restore OpenEphysHDF5Lib cache
135134
uses: actions/cache@v4
136135
id: cache-hdf5
137136
with:
138-
path: C:\OEPlugins\OpenEphysHDF5Lib
137+
path: OEPlugins/OpenEphysHDF5Lib
139138
key: plugin-hdf5-${{ steps.plugin-hashes.outputs.hdf5 }}
140139
restore-keys: |
141140
plugin-hdf5-
142141
- name: Build OpenEphysHDF5Lib
143142
if: steps.cache-hdf5.outputs.cache-hit != 'true'
144143
shell: powershell
145144
run: |
146-
New-Item -Path 'C:\OEPlugins' -ItemType Directory -Force
147-
git clone --branch main https://github.com/open-ephys-plugins/OpenEphysHDF5Lib.git C:\OEPlugins\OpenEphysHDF5Lib
148-
cd C:\OEPlugins\OpenEphysHDF5Lib\Build
145+
New-Item -Path 'OEPlugins' -ItemType Directory -Force
146+
git clone --branch main https://github.com/open-ephys-plugins/OpenEphysHDF5Lib.git OEPlugins\OpenEphysHDF5Lib
147+
cd OEPlugins\OpenEphysHDF5Lib\Build
149148
cmake -G "Visual Studio 17 2022" -A x64 ..
150149
msbuild ALL_BUILD.vcxproj -p:Configuration=Release -p:Platform=x64 -m
151150
- name: Install OpenEphysHDF5Lib
152151
shell: powershell
153152
run: |
154-
cd C:\OEPlugins\OpenEphysHDF5Lib\Build
153+
cd OEPlugins\OpenEphysHDF5Lib\Build
155154
msbuild INSTALL.vcxproj -p:Configuration=Release -p:Platform=x64
156155
- name: Save OpenEphysHDF5Lib cache
157156
if: steps.cache-hdf5.outputs.cache-hit != 'true'
158157
uses: actions/cache@v4
159158
with:
160-
path: C:\OEPlugins\OpenEphysHDF5Lib
159+
path: OEPlugins/OpenEphysHDF5Lib
161160
key: plugin-hdf5-${{ steps.plugin-hashes.outputs.hdf5 }}
162161
- name: Restore nwb-format cache
163162
uses: actions/cache@v4
164163
id: cache-nwb
165164
with:
166-
path: C:\OEPlugins\nwb-format
165+
path: OEPlugins/nwb-format
167166
key: plugin-nwb-${{ steps.plugin-hashes.outputs.nwb }}
168167
restore-keys: |
169168
plugin-nwb-
170169
- name: Build nwb-format
171170
if: steps.cache-nwb.outputs.cache-hit != 'true'
172171
shell: powershell
173172
run: |
174-
New-Item -Path 'C:\OEPlugins' -ItemType Directory -Force
175-
git clone --branch main https://github.com/open-ephys-plugins/nwb-format.git C:\OEPlugins\nwb-format
176-
cd C:\OEPlugins\nwb-format\Build
173+
New-Item -Path 'OEPlugins' -ItemType Directory -Force
174+
git clone --branch main https://github.com/open-ephys-plugins/nwb-format.git OEPlugins\nwb-format
175+
cd OEPlugins\nwb-format\Build
177176
cmake -G "Visual Studio 17 2022" -A x64 ..
178177
msbuild ALL_BUILD.vcxproj -p:Configuration=Release -p:Platform=x64 -m
179178
- name: Install nwb-format
180179
shell: powershell
181180
run: |
182-
cd C:\OEPlugins\nwb-format\Build
181+
cd OEPlugins\nwb-format\Build
183182
msbuild INSTALL.vcxproj -p:Configuration=Release -p:Platform=x64
184183
- name: Save nwb-format cache
185184
if: steps.cache-nwb.outputs.cache-hit != 'true'
186185
uses: actions/cache@v4
187186
with:
188-
path: C:\OEPlugins\nwb-format
187+
path: OEPlugins/nwb-format
189188
key: plugin-nwb-${{ steps.plugin-hashes.outputs.nwb }}
190189
- name: Install test-suite
191190
shell: powershell

0 commit comments

Comments
 (0)