Skip to content

Commit 6d1c574

Browse files
authored
Merge branch 'master' into cppmodules
2 parents e684441 + d8bb6b7 commit 6d1c574

File tree

7 files changed

+20
-12
lines changed

7 files changed

+20
-12
lines changed

.github/workflows/centos-system-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
if [ "${{ github.event_name }}" = "schedule" ]; then
3333
echo "GHA_BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
3434
fi
35+
echo "GHA_REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
3536
3637
- name: Set OSVERS
3738
run: |
@@ -62,7 +63,7 @@ jobs:
6263
run: |
6364
yum update -y
6465
yum install -y sudo curl
65-
curl https://raw.githubusercontent.com/BioDynaMo/biodynamo/${GHA_BRANCH_NAME}/util/install | bash
66+
curl https://raw.githubusercontent.com/${GHA_REPOSITORY}/${GHA_BRANCH_NAME}/util/install | bash
6667
# remove whole BioDynaMo repository to catch errors related to paths pointing into the build dir
6768
mktemp -d
6869
find /tmp -iname biodynamo -type d || true

.github/workflows/macos-system-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
sudo ln -s /Applications/Xcode_14.2.app /Applications/Xcode.app
3434
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
3535
if: matrix.os == 'macos-12'
36-
36+
3737
- name: Make sure Xcode 15.2 is used on macOS 13 as the default /Application/Xcode.app
3838
shell: bash
3939
run: |
@@ -53,12 +53,14 @@ jobs:
5353
if [ "${{ github.event_name }}" = "schedule" ]; then
5454
echo "GHA_BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
5555
fi
56-
56+
57+
echo "GHA_REPOSITORY=${{ github.repository}}" >> $GITHUB_ENV
58+
5759
- name: Install BioDynaMo
5860
shell: zsh {0}
5961
run: |
6062
brew install curl
61-
curl https://raw.githubusercontent.com/BioDynaMo/biodynamo/${GHA_BRANCH_NAME}/util/install | bash
63+
curl https://raw.githubusercontent.com/${GHA_REPOSITORY}/${GHA_BRANCH_NAME}/util/install | bash
6264
# remove whole bidynamo repository to catch errors related to paths pointing into the build dir
6365
mktemp -d
6466
find /tmp -iname biodynamo -type d || true
@@ -102,7 +104,7 @@ jobs:
102104
cmake --build build --parallel --config Release
103105
104106
# Don't do this in the `Build BioDynaMo step`, because notebooks might time out in GHA
105-
# runners, while waiting for other targets to be compiled. Run notebooks only on
107+
# runners, while waiting for other targets to be compiled. Run notebooks only on
106108
# macOS 10.15 until we managed to compile ROOT for 11.6 again.
107109
- name: Run notebooks
108110
shell: zsh {0}

.github/workflows/ubuntu-system-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
echo "GHA_BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
3535
fi
3636
37+
echo "GHA_REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
38+
3739
- name: Set OSVERS
3840
run: |
3941
ID=$(grep -oP '(?<=^ID=).+' /etc/os-release | tr -d '"')
@@ -55,7 +57,7 @@ jobs:
5557
run: |
5658
sudo apt update
5759
sudo apt install -y curl
58-
curl https://raw.githubusercontent.com/BioDynaMo/biodynamo/${GHA_BRANCH_NAME}/util/install | bash
60+
curl https://raw.githubusercontent.com/${GHA_REPOSITORY}/${GHA_BRANCH_NAME}/util/install | bash
5961
# remove whole bidynamo repository to catch errors related to paths pointing into the build dir
6062
mktemp -d
6163
find /tmp -iname biodynamo -type d || true
@@ -133,7 +135,7 @@ jobs:
133135
-B build
134136
cmake --build build --parallel --config Release --target notebooks -- -j1
135137
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-22.04'
136-
138+
137139

138140
- name: Build BioDynaMo
139141
shell: bash

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<a href="https://github.com/BioDynaMo/biodynamo/actions/workflows/centos-system-ci.yml"><img src="https://github.com/BioDynaMo/biodynamo/actions/workflows/centos-system-ci.yml/badge.svg"/></a>
2525
<a href="https://github.com/BioDynaMo/biodynamo/actions/workflows/macos-system-ci.yml"><img src="https://github.com/BioDynaMo/biodynamo/actions/workflows/macos-system-ci.yml/badge.svg"/></a>
2626
<a href="https://sonarcloud.io/project/overview?id=BioDynaMo_biodynamo"><img src="https://sonarcloud.io/api/project_badges/measure?project=BioDynaMo_biodynamo&metric=alert_status"/></a>
27-
<a href="https://discord.gg/9hNCbNYwcT"><img src="https://img.shields.io/discord/1029690454574370816"/></a>
27+
<a href="https://discord.com/invite/kTcTTNFy"><img src="https://img.shields.io/discord/1029690454574370816"/></a>
2828
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"/></a>
2929
</p>
3030

cmake/FindROOT.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ if(NOT BDM_OUT_OF_SOURCE)
104104
set(LAUNCHER ${CMAKE_BINARY_DIR}/launcher.sh)
105105
endif()
106106

107-
include(${CMAKE_SOURCE_DIR}/cmake/RootMacros.cmake)
107+
include(${CMAKE_SOURCE_DIR}/cmake/RootMacros.cmake)

cmake/external/SHA256Digests.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ SET(osx-14.4-i386-ParaView d2e89df30ab0e2729b28539de37753e09c061b4c434b0a68e8055
6262
SET(osx-14.4-arm64-ParaView 5e89b785ac0c56bbca31e2ae101a8986953e90227fe42a1ef7adcc70a0ff6fc4)
6363
SET(osx-14.5-i386-ParaView d2e89df30ab0e2729b28539de37753e09c061b4c434b0a68e80554f7fa617ccb)
6464
SET(osx-14.5-arm64-ParaView 5e89b785ac0c56bbca31e2ae101a8986953e90227fe42a1ef7adcc70a0ff6fc4)
65+
SET(osx-14.6-i386-ParaView d2e89df30ab0e2729b28539de37753e09c061b4c434b0a68e80554f7fa617ccb)
66+
SET(osx-14.6-arm64-ParaView 5e89b785ac0c56bbca31e2ae101a8986953e90227fe42a1ef7adcc70a0ff6fc4)
6567
SET(osx-xcode-13.1-i386-ROOT be97dd72022c8d082fbe4394f18b55c4920f20b138cfff1b5fc2b41d397ac203)
6668
SET(osx-xcode-13.1-arm64-ROOT 0a55b91c6df42d152b7943912e134f05c3872a73e73fcc129ee87fd847240ec8)
6769
SET(osx-xcode-14.1-i386-ROOT 001311608512b24535bb9710b8baf006bd00e9b0595fd6bdf900d28b1e22c395)

util/install

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env bash
22
# Adapted from https://github.com/pyenv/pyenv-installer/
3-
# Usage: curl https://raw.githubusercontent.com/BioDynaMo/biodynamo/master/util/install | bash
3+
# Usage: curl https://raw.githubusercontent.com/BioDynaMo/biodynamo/master/util/install | bash
44

55
set -e
66

77
if [ -z ${BDM_INSTALL} ]; then
88
export BDM_INSTALL=v1.04-patches
99
fi
1010
echo "BDM_INSTALL is set to: $BDM_INSTALL"
11-
11+
1212
temp_dir=$(mktemp -d)
1313
BDM_SRC="${temp_dir}/biodynamo"
1414
mkdir "$BDM_SRC"
@@ -34,8 +34,9 @@ FailedCheckout() {
3434

3535
Checkout() {
3636
# In Github Actions we checkout the branch that is running the install script
37+
REPO_URL="${GITHUB}/${GHA_REPOSITORY}.git"
3738
if [ ! -z ${GITHUB_ACTIONS+x} ]; then
38-
git clone --branch ${GHA_BRANCH_NAME} "$1" . || FailedClone "$1"
39+
git clone --branch ${GHA_BRANCH_NAME} "$REPO_URL" . || FailedClone "$REPO_URL"
3940
else
4041
git clone "$1" . || FailedClone "$1"
4142
git checkout "$BDM_INSTALL" || FailedCheckout "$BDM_INSTALL"

0 commit comments

Comments
 (0)