-
Notifications
You must be signed in to change notification settings - Fork 100
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
1 parent
36153c0
commit 154ecd4
Showing
4 changed files
with
87 additions
and
119 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,36 @@ | ||
name: Tests MacOSX M1 | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build_virus_macrophage: | ||
|
||
runs-on: macos-14 | ||
strategy: | ||
matrix: | ||
projects: [ | ||
{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"}, | ||
{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"}, | ||
{project: "template", name: "PhysiCell Template", binary: "project"} | ||
] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run : brew install gcc@13 | ||
|
||
- name: Build ${{ matrix.projects.name }} project | ||
run: | | ||
make ${{ matrix.projects.project }} | ||
make PHYSICELL_CPP=g++-13 | ||
- name: Run ${{ matrix.projects.name }} project | ||
run: | | ||
./${{ matrix.projects.binary }} ${{ matrix.projects.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