forked from PhysiBoSS/PhysiBoSS
-
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.
Trying to simplify the github actions
- Loading branch information
1 parent
36153c0
commit 8c34971
Showing
4 changed files
with
79 additions
and
112 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,35 @@ | ||
name: Tests MacOSX | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build_virus_macrophage: | ||
|
||
runs-on: macos-14 | ||
strategy: | ||
matrix: | ||
repo: [ | ||
{project: "virus-macrophage-sample", name: "Virus Macrophage", binary: "virus-sample"}, | ||
{project: "physiboss-cell-lines-sample", name: "PhysiBoSS Cell Lines", binary: "PhysiBoSS_Cell_Lines"}, | ||
{project: "physimess-sample", name: "PhysiMeSS Sample", binary: "project", config: ""}, | ||
{project: "physimess-sample", name: "PhysiMeSS Sample", binary: "project", config: "config/Fibre_Initialisation/mymodel_initialisation.xml"}, | ||
{project: "physimess-sample", name: "PhysiMeSS Sample", binary: "project", config: "config/Cell_Fibre_Mechanics/mymodel_rotating.xml"} | ||
] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run : brew install gcc@11 | ||
|
||
- name: Build ${{ matrix.repo.name }} project | ||
run: | | ||
make ${{ matrix.repo.project }} | ||
make PHYSICELL_CPP=g++-11 | ||
- name: Run ${{ matrix.repo.name }} project | ||
run: | | ||
./${{ matrix.repo.binary }} ${{ matrix.repo.config }} | ||
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