-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into gha_update_pyver
- Loading branch information
Showing
21 changed files
with
181 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Install apt dependencies | ||
description: Install apt dependencies for the AMICI Python package | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run: | | ||
sudo apt-get update \ | ||
&& sudo apt-get install -y \ | ||
g++ \ | ||
libatlas-base-dev \ | ||
libboost-chrono-dev \ | ||
libboost-math-dev \ | ||
libboost-serialization-dev \ | ||
libhdf5-serial-dev \ | ||
swig | ||
shell: bash |
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,20 @@ | ||
name: Set up doxygen | ||
description: | | ||
Download, build, and install doxygen. | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install apt dependencies for doxygen | ||
run: | | ||
sudo apt-get update \ | ||
&& sudo apt-get install -y \ | ||
bison \ | ||
ragel \ | ||
graphviz \ | ||
texlive-latex-extra | ||
shell: bash | ||
|
||
- name: Download and build doxygen | ||
run: sudo scripts/downloadAndBuildDoxygen.sh | ||
shell: bash |
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,26 @@ | ||
name: Set up Sonar tools | ||
description: Download and install sonar-scanner and build-wrapper | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run: echo "SONAR_SCANNER_VERSION=5.0.1.3006" >> $GITHUB_ENV | ||
shell: bash | ||
- run: echo "SONAR_SCANNER_HOME=${HOME}/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux" >> $GITHUB_ENV | ||
shell: bash | ||
- run: echo "SONAR_SCANNER_OPTS=-server" >> $GITHUB_ENV | ||
shell: bash | ||
- run: echo "${SONAR_SCANNER_HOME}/bin" >> $GITHUB_PATH | ||
shell: bash | ||
- run: echo "${HOME}/.sonar/build-wrapper-linux-x86" >> $GITHUB_PATH | ||
shell: bash | ||
|
||
- name: Install sonarcloud tools | ||
run: | | ||
sudo apt-get install nodejs curl unzip \ | ||
&& curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip \ | ||
https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip \ | ||
&& unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ \ | ||
&& curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip \ | ||
https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip \ | ||
&& unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/ \ | ||
shell: bash |
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,20 @@ | ||
name: Set up SWIG | ||
description: | | ||
Download and build SWIG and set the SWIG environment variable to the path of | ||
the SWIG executable. | ||
inputs: | ||
swig_version: | ||
description: 'Swig version to build' | ||
required: false | ||
default: '4.1.1' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Download and build SWIG | ||
run: scripts/downloadAndBuildSwig.sh | ||
shell: bash | ||
|
||
- run: echo "SWIG=${AMICI_DIR}/ThirdParty/swig-${{ inputs.swig_version }}/install/bin/swig" >> $GITHUB_ENV | ||
shell: bash |
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
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
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.