forked from AntaresSimulatorTeam/Antares_Simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'AntaresSimulatorTeam:develop' into develop
- Loading branch information
Showing
370 changed files
with
7,267 additions
and
3,970 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop # Set a branch name to trigger deployment | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: write | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true # Fetch Hugo themes (true OR recursive) | ||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | ||
|
||
- name: theme | ||
run: | | ||
git clone https://github.com/jothepro/doxygen-awesome-css.git | ||
cd doxygen-awesome-css | ||
git checkout v2.2.1 | ||
- name: Doxygen | ||
uses: mattnotmitt/[email protected] | ||
with: | ||
doxyfile-path: docs/Doxyfile | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
# If you're changing the branch from main, | ||
# also change the `main` in `refs/heads/main` | ||
# below accordingly. | ||
if: github.ref == 'refs/heads/develop' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./html | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -41,6 +41,24 @@ jobs: | |
run: | | ||
choco install wget unzip zip --no-progress | ||
# Downloads ccache, and copies it to "cl.exe" in order to trick cmake into using it, | ||
# see ccache wiki for background on using it with MSVC: | ||
# https://github.com/ccache/ccache/wiki/MS-Visual-Studio | ||
- name: Install ccache | ||
shell: bash | ||
run: | | ||
wget https://github.com/ccache/ccache/releases/download/v4.8.3/ccache-4.8.3-windows-x86_64.zip -O ccache.zip | ||
unzip ccache.zip | ||
rm ccache.zip | ||
mv ccache-4.8.3-windows-x86_64 ccache | ||
cp ccache/ccache.exe ccache/cl.exe | ||
echo "${GITHUB_WORKSPACE}/ccache" >> $GITHUB_PATH | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: windows | ||
|
||
- name : Init VCPKG submodule | ||
run: | | ||
git submodule update --init vcpkg | ||
|
@@ -85,11 +103,12 @@ jobs: | |
ortools-url: ${{env.ORTOOLS_URL}} | ||
ortools-dir: ${{env.ORTOOLS_DIR}} | ||
|
||
- name: Setup Python 3.11 | ||
- name: Setup Python 3.12 | ||
uses: actions/setup-python@v4 | ||
id: setup-python | ||
with: | ||
architecture: 'x64' | ||
python-version: '3.11' | ||
python-version: '3.12' | ||
|
||
- name: Install pip dependencies if necessary | ||
run: pip install -r src/tests/examples/requirements.txt | ||
|
@@ -113,7 +132,9 @@ jobs: | |
-DCMAKE_BUILD_TYPE=release \ | ||
-DBUILD_TESTING=ON \ | ||
-DBUILD_TOOLS=ON \ | ||
-DBUILD_not_system=OFF | ||
-DBUILD_not_system=OFF \ | ||
-DPython3_EXECUTABLE='${{ steps.setup-python.outputs.python-path }}' \ | ||
-DCMAKE_VS_GLOBALS="CLToolExe=cl.exe;CLToolPath=${GITHUB_WORKSPACE}/ccache;TrackFileAccess=false;UseMultiToolTask=true;DebugInformationFormat=OldStyle" | ||
- name: Build | ||
shell: bash | ||
|
@@ -123,7 +144,7 @@ jobs: | |
- name: Run unfeasibility-related tests | ||
run: | | ||
cd _build | ||
ctest -C Release --output-on-failure -R unfeasible | ||
ctest -C Release --output-on-failure -R "^unfeasible$" | ||
- name: Run unit and end-to-end tests | ||
run: | | ||
|
@@ -182,6 +203,23 @@ jobs: | |
batch-name: valid-v860 | ||
os: ${{ matrix.test-platform }} | ||
|
||
- name: Run tests introduced in v870 | ||
if: ${{ env.IS_PUSH == 'true' }} | ||
uses: ./.github/workflows/run-tests | ||
with: | ||
simtest-tag: ${{steps.simtest-version.outputs.prop}} | ||
batch-name: valid-v870 | ||
os: ${{ matrix.test-platform }} | ||
|
||
- name: Run parallel tests | ||
if: ${{ env.IS_PUSH == 'true' }} | ||
uses: ./.github/workflows/run-tests | ||
with: | ||
simtest-tag: ${{steps.simtest-version.outputs.prop}} | ||
batch-name: valid-parallel | ||
os: ${{ matrix.test-platform }} | ||
variant: "parallel" | ||
|
||
- name: Run short-tests | ||
uses: ./.github/workflows/run-tests | ||
with: | ||
|
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.