Skip to content

Commit 221af40

Browse files
committed
Copy latest lib to optiprofiler
1 parent 4530a95 commit 221af40

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/actions/collect_info/s_getInfo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
file.close()
2929

3030
# Exclude some problems
31-
# 'HS67', 'HS68', 'HS69', 'HS85', 'HS88', 'HS89', 'HS90', 'HS91', 'HS92' are under development and not ready for use
3231
# 'TWIRIBG1', 'TWIRIMD1' will kill the process (memory/CPU exhaustion) if run, so we exclude them
3332
problem_exclude = [
3433
'SPARCO10LS', 'SPARCO10', 'SPARCO11LS', 'SPARCO11', 'SPARCO12LS', 'SPARCO12', 'SPARCO2LS', 'SPARCO2', 'SPARCO3LS', 'SPARCO3', 'SPARCO5LS', 'SPARCO5', 'SPARCO7LS', 'SPARCO7', 'SPARCO8LS', 'SPARCO8', 'SPARCO9LS', 'SPARCO9', 'ROSSIMP3_mp',

.github/workflows/collect_info.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,15 @@ jobs:
4343
with:
4444
repository: optiprofiler/optiprofiler
4545
path: optiprofiler
46-
submodules: recursive
47-
ref: reorganize
46+
ref: main
47+
48+
- name: Copy current repo to OptiProfiler problem_libs
49+
run: |
50+
# Ensure the target directory exists
51+
mkdir -p optiprofiler/python/optiprofiler/problem_libs/s2mpj
52+
# Copy all files except optiprofiler and .github directories
53+
rsync -av --exclude='optiprofiler' --exclude='.github' --exclude='.git' . optiprofiler/python/optiprofiler/problem_libs/s2mpj/
54+
echo "Copied current repo files to optiprofiler/python/optiprofiler/problem_libs/s2mpj"
4855
4956
- name: Copy collect_info files to root directory
5057
run: |

0 commit comments

Comments
 (0)