-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a new ci style for linux #15
Merged
Merged
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f3221d4
test 1
sgatto 5c5171b
fix
sgatto 959a0e5
fix
sgatto 1d666cb
update ubuntu CI
sgatto 6c19c8b
default to sirius off
sgatto f59d851
temporary fix
sgatto b08fc2d
try fix
sgatto ea39486
try fix
sgatto c0e5400
point to deps.cmake
sgatto cca2ba3
try fix windows
sgatto 42f358e
update centos.yml
sgatto bc7f652
fix centos.yml
sgatto 3092658
new ci style for oracle.yml and windows-python.yml
sgatto 285d17c
try fix oracle python3
sgatto 70e672a
try fix oracle python3
sgatto 67c7054
try fix patches
sgatto 3ee3703
try fix
sgatto cb5d51a
fix typo
sgatto f7dd489
try fix centos.dockerfile
sgatto bf0ad7c
switch back to deps.cmake
sgatto f5dd401
windows revert old style patch (no cmake)
sgatto 431ddbc
fix windows old style patch (no cmake)
sgatto eaf7cf5
fix windows python
sgatto c7db70f
use repo tag to checkout google-ortools
sgatto 505ca92
fix windows
sgatto 998f8e9
fix patch.py for main
sgatto c0aa22c
remove line about shared libs
sgatto b8dbfaa
change order of 2 steps in Windows CI
sgatto b0b30cc
fix hithubactions warnings
sgatto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,19 +39,29 @@ jobs: | |
{ version: "3.11", dir: Python311 }, | ||
] | ||
steps: | ||
- name: Checkout or-tools | ||
if: ${{ env.RELEASE_CREATED == 'false' }} | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: rte-france/or-tools | ||
ref: ${{ github.event.inputs.rtefrance_ortools_branch || 'main' }} | ||
- name: set or-tools repo vars if release | ||
if: ${{ env.RELEASE_CREATED == 'true' }} | ||
shell: bash | ||
run: | | ||
OR_REPO="https://github.com/google/or-tools.git" | ||
TAGNAME="${{ github.event.release.tag_name }}" | ||
TAGNAME_WITHOUT_SUFFIX=${TAGNAME%%-*} | ||
echo "OR_REPO=$OR_REPO" >> $GITHUB_ENV | ||
echo "OR_REF=$TAGNAME_WITHOUT_SUFFIX" >> $GITHUB_ENV | ||
Comment on lines
+46
to
+50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
|
||
- name: Checkout or-tools | ||
- name: Checkout or-tools if release | ||
if: ${{ env.RELEASE_CREATED == 'true' }} | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: google/or-tools | ||
ref: 'stable' | ||
ref: ${{ env.OR_REF }} | ||
|
||
- name: Checkout or-tools not release | ||
if: ${{ env.RELEASE_CREATED == 'false' }} | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: rte-france/or-tools | ||
ref: ${{ github.event.inputs.rtefrance_ortools_branch || 'main' }} | ||
|
||
- name: Checkout this repository | ||
uses: actions/checkout@v4 | ||
|
@@ -69,7 +79,7 @@ jobs: | |
- name: Apply patch | ||
shell: bash | ||
run: | | ||
cp -r patch/ortools patch/patch.py patch/patch_utils.py . | ||
cp -r patch/ortools patch/patch.py patch/patch_utils.py patch/cmake_patches . | ||
python patch.py | ||
|
||
- name: Install SWIG 4.1.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you only need to do this in step "Checkout or-tools if release"