forked from AMICI-dev/AMICI
-
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 pull request AMICI-dev#2210 from AMICI-dev/release_0.20.0
Release 0.20.0
- Loading branch information
Showing
115 changed files
with
4,151 additions
and
1,563 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,44 @@ | ||
name: Set up AMICI C++ | ||
description: | | ||
Build the AMICI C++ interface and set things for for coverage analysis. | ||
(Currently ubuntu-only). | ||
runs: | ||
using: "composite" | ||
steps: | ||
# BioNetGen Path | ||
- run: echo "BNGPATH=${GITHUB_WORKSPACE}/ThirdParty/BioNetGen-2.7.0" >> $GITHUB_ENV | ||
shell: bash | ||
|
||
# use all available cores | ||
- run: echo "AMICI_PARALLEL_COMPILE=" >> $GITHUB_ENV | ||
shell: bash | ||
|
||
# enable coverage | ||
- run: echo "ENABLE_GCOV_COVERAGE=TRUE" >> $GITHUB_ENV | ||
shell: bash | ||
|
||
- name: Set up Sonar tools | ||
uses: ./.github/actions/setup-sonar-tools | ||
|
||
- name: Install apt dependencies | ||
uses: ./.github/actions/install-apt-dependencies | ||
|
||
- name: Install additional apt dependencies | ||
run: | | ||
sudo apt-get update \ | ||
&& sudo apt-get install -y \ | ||
cmake \ | ||
python3-venv \ | ||
lcov | ||
shell: bash | ||
|
||
- name: Build AMICI dependencies | ||
run: scripts/buildDependencies.sh | ||
shell: bash | ||
|
||
- name: Build AMICI | ||
run: scripts/buildAmici.sh | ||
shell: bash | ||
env: | ||
CI_SONARCLOUD: "TRUE" |
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
Oops, something went wrong.