Skip to content

Commit

Permalink
try different syntax again
Browse files Browse the repository at this point in the history
  • Loading branch information
munnsmunns committed May 3, 2024
1 parent 5110884 commit 88262fb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/python-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
PYTHON_LIBRARY_DIR: $Env:CONDA\Lib\site-packages
PYTHON_EXECUTABLE: $Env:CONDA\python.exe
BUILD_TYPE: Release
DEPENDENCY_DIR: $Env:HOME\github-deps
DEPENDENCY_DIR: $HOME\github-deps

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
Expand All @@ -35,19 +35,19 @@ jobs:
id: cache-github
uses: actions/cache@v4
with:
path: $Env:DEPENDENCY_DIR
path: ${{env.DEPENDENCY_DIR}}
key: ${{runner.os}}-github-deps
- name: create dependency dir
if: steps.cache-github.outputs.cache-hit != 'true'
run: mkdir ${{ env.DEPENDENCY_DIR }}
- name: download eigen
working-directory: $Env:DEPENDENCY_DIR
working-directory: ${{env.DEPENDENCY_DIR}}
if: steps.cache-github.outputs.cache-hit != 'true'
run: |
git clone --depth 1 https://github.com/libigl/eigen.git
echo "$Env:DEPENDENCY_DIR\eigen" >> $env:GITHUB_ENV
echo "${{env.DEPENDENCY_DIR}}\eigen" >> $env:GITHUB_ENV
- name: install nlopt
working-directory: $Env:DEPENDENCY_DIR
working-directory: ${{env.DEPENDENCY_DIR}}
if: steps.cache-github.outputs.cache-hit != 'true'
run: |
git clone --depth 1 https://github.com/stevengj/nlopt.git
Expand All @@ -56,9 +56,9 @@ jobs:
cd build
cmake ..
cmake --build . --config Release
echo "NLOPT_DIR=$Env:DEPENDENCY_DIR\nlopt\src\api;$Env:DEPENDENCY_DIR\nlopt\build\Release;$Env:DEPENDENCY_DIR\nlopt\build" >> $env:GITHUB_ENV
echo "NLOPT_DIR=${{env.DEPENDENCY_DIR}}\nlopt\src\api;${{env.DEPENDENCY_DIR}}\nlopt\build\Release;${{env.DEPENDENCY_DIR}}\nlopt\build" >> $env:GITHUB_ENV
- name: install gsl
working-directory: $Env:DEPENDENCY_DIR
working-directory: ${{env.DEPENDENCY_DIR}}
if: steps.cache-github.outputs.cache-hit != 'true'
run: |
git clone --depth 1 https://github.com/ampl/gsl.git
Expand All @@ -67,7 +67,7 @@ jobs:
cd build
cmake .. -DNO_AMPL_BINDINGS=1
cmake --build . --config Release
echo "GSL_DIR=$Env:DEPENDENCY_DIR\gsl\build\Release;$Env:DEPENDENCY_DIR\gsl\build" >> $env:GITHUB_ENV
echo "GSL_DIR=${{env.DEPENDENCY_DIR}}\gsl\build\Release;${{env.DEPENDENCY_DIR}}\gsl\build" >> $env:GITHUB_ENV
- name: build bmds with cmake
shell: pwsh
run: |
Expand Down

0 comments on commit 88262fb

Please sign in to comment.