From 12a787c8a2db4a202015f934001f5260a899dc6e Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Fri, 5 Sep 2025 16:58:15 +0200 Subject: [PATCH 1/2] resolve path --- scripts/run_command_building.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/run_command_building.py b/scripts/run_command_building.py index 0bfbbab..0a8614a 100644 --- a/scripts/run_command_building.py +++ b/scripts/run_command_building.py @@ -7,6 +7,9 @@ def make_command_to_run(path_where_to_find_exe, batch_name, study_path): exe_path = Path() exe_identifier = "solver" # Default value + exe_path = path_where_to_find_exe.resolve() + print(f"Found executabled : {exe_path}") + command_to_run = [exe_path, "-i", str(study_path)] if batch_name == "valid-milp": command_to_run.append('--solver=coin') From 68e892d071baab91e495eefbcb2138b682d1fd4b Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Mon, 8 Sep 2025 09:34:38 +0200 Subject: [PATCH 2/2] linux path --- .github/workflows/generate-reference.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-reference.yml b/.github/workflows/generate-reference.yml index d480b47..8c58a90 100644 --- a/.github/workflows/generate-reference.yml +++ b/.github/workflows/generate-reference.yml @@ -115,7 +115,7 @@ jobs: if: ${{ startsWith(matrix.os, 'ubuntu') }} run: | ANTARES_TAG=${{ github.event.inputs.antares_tag }} - python3 scripts/generate_reference.py ${{ matrix.batch }} antares-${ANTARES_TAG/v/}-Ubuntu-22.04/bin + python3 scripts/generate_reference.py ${{ matrix.batch }} antares-${ANTARES_TAG/v/}-Ubuntu-22.04/bin/antares-solver - name: Generate results (Windows) if: ${{ startsWith(matrix.os, 'windows') }}