File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -155,13 +155,6 @@ jobs:
155155 --config Release
156156 --target install
157157
158- - name : Setup environment variables
159- shell : bash
160- run : |
161- echo "${{ github.workspace }}/${{ env.GEANT4_INSTALL_DIR }}/bin" >> $GITHUB_PATH
162- echo "${{ github.workspace }}/${{ env.XERCES_C_INSTALL_DIR }}/bin" >> $GITHUB_PATH
163- echo "CMAKE_ARGS=-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded" >> $GITHUB_ENV
164-
165158 - uses : actions/checkout@v2
166159 with :
167160 submodules : true
@@ -177,6 +170,15 @@ jobs:
177170
178171 - uses : pypa/cibuildwheel@v2.2.2
179172 env :
173+ CIBW_ENVIRONMENT_MACOS : >
174+ PATH="$PATH:${{ github.workspace }}/${{ env.GEANT4_INSTALL_DIR }}/bin"
175+ PATH="$PATH:${{ github.workspace }}/${{ env.XERCES_C_INSTALL_DIR }}/bin"
176+
177+ CIBW_ENVIRONMENT_WINDOWS : >
178+ PATH="${{ github.workspace }}/${{ env.GEANT4_INSTALL_DIR }}/bin;$PATH"
179+ PATH="${{ github.workspace }}/${{ env.XERCES_C_INSTALL_DIR }}/bin;$PATH"
180+ CMAKE_ARGS="-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"
181+
180182 CIBW_BUILD : cp3*
181183 CIBW_ARCHS : native
182184
You can’t perform that action at this time.
0 commit comments