Skip to content

Commit 3896a26

Browse files
authored
ci: add enterprise license to the secure CI jobs (#121)
1 parent 6714360 commit 3896a26

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/performance_score_director.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,10 @@ jobs:
295295
- name: (Baseline) Run the benchmark
296296
working-directory: ./timefold-solver-benchmarks
297297
id: benchmark_baseline
298+
shell: bash
298299
env:
299300
RUN_ID: ${{ env.BASELINE_DIR }}
300-
shell: bash
301+
TIMEFOLD_ENTERPRISE_LICENSE: ${{ secrets.TIMEFOLD_SOLVER_CI_PROD_LICENSE }}
301302
run: |
302303
mkdir target
303304
cp benchmarks-baseline.jar target/benchmarks.jar
@@ -316,9 +317,10 @@ jobs:
316317
- name: (SUT) Run the benchmark
317318
id: benchmark_sut
318319
working-directory: ./timefold-solver-benchmarks
320+
shell: bash
319321
env:
320322
RUN_ID: ${{ env.SUT_DIR }}
321-
shell: bash
323+
TIMEFOLD_ENTERPRISE_LICENSE: ${{ secrets.TIMEFOLD_SOLVER_CI_PROD_LICENSE }}
322324
run: |
323325
rm target/benchmarks.jar
324326
cp benchmarks-sut.jar target/benchmarks.jar

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,6 @@ jobs:
125125
- name: Build and test timefold-solver-benchmarks
126126
working-directory: ./timefold-solver-benchmarks
127127
shell: bash
128+
env:
129+
TIMEFOLD_ENTERPRISE_LICENSE: ${{ secrets.TIMEFOLD_SOLVER_CI_PROD_LICENSE }}
128130
run: ./mvnw -B clean verify

.github/workflows/turtle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
example: [cloudbalancing, conferencescheduling, curriculumcourse, examination, machinereassignment, meetingscheduling, nurserostering, pas, taskassigning, travelingtournament, tsp, vehiclerouting]
15+
example: [cloudbalancing, conferencescheduling, curriculumcourse, examination, flow_shop, machinereassignment, meetingscheduling, nurserostering, pas, taskassigning, travelingtournament, tsp, vehiclerouting]
1616
steps:
1717
# Clone timefold-solver
1818
- name: Checkout timefold-solver
@@ -54,4 +54,6 @@ jobs:
5454
- name: Run and test timefold-solver-benchmarks per example
5555
working-directory: ./timefold-solver-benchmarks
5656
shell: bash
57+
env:
58+
TIMEFOLD_ENTERPRISE_LICENSE: ${{ secrets.TIMEFOLD_SOLVER_CI_PROD_LICENSE }}
5759
run: ./mvnw -B -Dai.timefold.solver.benchmarks.examples.turtle=${{matrix.example}} -Dai.timefold.solver.benchmarks.examples.turtle.runTimeLimitMinutes=300 test

0 commit comments

Comments
 (0)