Skip to content

Commit

Permalink
Allow compiling with CPLEX for repos not named 'downward'.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Oct 4, 2023
1 parent e0cf32b commit 626b88a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,15 @@ jobs:
echo "https://www.ibm.com/docs/en/icos/22.1.1?topic=2211-silent-installation-cplex-optimization-studio"
curl.exe --output cplex.exe $ENV:CPLEX_URL
# This directory only already exists for repos called "downward".
mkdir D:\a\downward
echo "Install CPLEX"
Start-Process -FilePath .\cplex.exe -ArgumentList "-f", "D:\a\downward\downward\.github\workflows\misc\cplex2211_windows_installer.properties" -PassThru | Wait-Process
Start-Process -FilePath .\cplex.exe -ArgumentList "-f", "$ENV:GITHUB_WORKSPACE\.github\workflows\misc\cplex2211_windows_installer.properties" -PassThru | Wait-Process
del .\cplex.exe
echo "Copy the relevant directory to a location which is not magically protected against cmake"
Xcopy /E /I ..\cplex_temp\cplex ..\cplex
Xcopy /E /I D:\a\downward\cplex_temp\cplex $ENV:cplex_DIR
- name: Compile planner
Expand Down

0 comments on commit 626b88a

Please sign in to comment.