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.
GHA: split into smaller jobs (AMICI-dev#2204)
Split current C++/Python/Notebook tests into three separate workflows: 1. C++ + some Python 2. Slow pysb and spline tests 3. Notebooks Closes AMICI-dev#2195 Closes AMICI-dev#2014
- Loading branch information
Showing
2 changed files
with
161 additions
and
42 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,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