Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/MacOS-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
cling-version: '1.0'
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand All @@ -87,7 +87,7 @@ jobs:
fi

echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV

- name: Restore Cache LLVM/Clang runtime build directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
echo "CXX=g++-${vers}" >> $GITHUB_ENV
else
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
if [[ "${cling_on}" == "ON" ]]; then
if [[ "${cling_on}" == "ON" ]]; then
brew install llvm@15
brew remove llvm@18
brew cleanup
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
brew unlink "$pkg"
brew link --overwrite "$pkg"
done
brew upgrade openssl >/dev/null 2>&1
brew upgrade openssl >/dev/null 2>&1
brew upgrade
brew install ninja

Expand All @@ -157,7 +157,7 @@ jobs:
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
if [[ "${cling_on}" == "ON" ]]; then
git clone https://github.com/root-project/cling.git
cd ./cling
cd ./cling
git checkout tags/v${{ matrix.cling-version }}
cd ..
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand Down Expand Up @@ -328,7 +328,7 @@ jobs:
echo "CXX=g++-${vers}" >> $GITHUB_ENV
else
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
if [[ "${cling_on}" == "ON" ]]; then
if [[ "${cling_on}" == "ON" ]]; then
brew install llvm@15
brew remove llvm@18
brew cleanup
Expand All @@ -351,19 +351,19 @@ jobs:

- name: Install deps
run: |
brew update --force
brew update --force
brew remove unxip
# workaround for https://github.com/actions/setup-python/issues/577
for pkg in $(brew list | grep '^python@'); do
brew unlink "$pkg"
brew link --overwrite "$pkg"
done
brew upgrade --force
brew upgrade --force
brew install eigen
brew install boost
brew install gnu-sed
pip install distro pytest


- name: Restore Cache LLVM/Clang runtime build directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -442,7 +442,7 @@ jobs:
cmake --build . --parallel ${{ env.ncpus }}
cp libcppyy-backend.dylib $CPPINTEROP_DIR/lib/
cd ..

- name: Install CPyCppyy
if: ${{ matrix.cppyy == 'On' }}
run: |
Expand Down Expand Up @@ -529,7 +529,7 @@ jobs:
tail -n1 test_xfailed.log
echo "Return Code: ${RETCODE}"
exit $RETCODE

- name: Show debug info
if: ${{ failure() }}
run: |
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/MacOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
cling-version: '1.0'
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand All @@ -87,7 +87,7 @@ jobs:
fi

echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV

- name: Restore Cache LLVM/Clang runtime build directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
brew unlink "$pkg"
brew link --overwrite "$pkg"
done
brew upgrade openssl >/dev/null 2>&1
brew upgrade openssl >/dev/null 2>&1
brew upgrade
brew install ninja

Expand All @@ -141,7 +141,7 @@ jobs:
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
if [[ "${cling_on}" == "ON" ]]; then
git clone https://github.com/root-project/cling.git
cd ./cling
cd ./cling
git checkout tags/v${{ matrix.cling-version }}
cd ..
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand Down Expand Up @@ -320,19 +320,19 @@ jobs:

- name: Install deps
run: |
brew update --force
brew update --force
brew remove swiftlint
# workaround for https://github.com/actions/setup-python/issues/577
for pkg in $(brew list | grep '^python@'); do
brew unlink "$pkg"
brew link --overwrite "$pkg"
done
brew upgrade --force
brew upgrade --force
brew install eigen
brew install boost
brew install gnu-sed
pip install distro pytest


- name: Restore Cache LLVM/Clang runtime build directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -411,7 +411,7 @@ jobs:
cmake --build . --parallel ${{ env.ncpus }}
cp libcppyy-backend.dylib $CPPINTEROP_DIR/lib/
cd ..

- name: Install CPyCppyy
if: ${{ matrix.cppyy == 'On' }}
run: |
Expand Down Expand Up @@ -498,7 +498,7 @@ jobs:
tail -n1 test_xfailed.log
echo "Return Code: ${RETCODE}"
exit $RETCODE

- name: Show debug info
if: ${{ failure() }}
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/Ubuntu-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ jobs:
cling-version: '1.0'
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand All @@ -123,7 +123,7 @@ jobs:
fi

echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV

- name: Restore Cache LLVM/Clang runtime build directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
if [[ "${cling_on}" == "ON" ]]; then
git clone https://github.com/root-project/cling.git
cd ./cling
cd ./cling
git checkout tags/v${{ matrix.cling-version }}
cd ..
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:
# Install libraries used by the cppyy test suite
sudo apt install libeigen3-dev
sudo apt install libboost-all-dev


- name: Restore Cache LLVM/Clang runtime build directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -522,7 +522,7 @@ jobs:
cmake --build . --parallel ${{ env.ncpus }}
cp libcppyy-backend.so $CPPINTEROP_DIR/lib/
cd ..

- name: Install CPyCppyy
if: ${{ matrix.cppyy == 'On' }}
run: |
Expand Down Expand Up @@ -596,7 +596,7 @@ jobs:
declare -i RETCODE=0

set -o pipefail

echo "Running valgrind on passing tests"
CLANG_VERSION="${{ matrix.clang-runtime }}"
SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind_arm.supp"
Expand All @@ -614,7 +614,7 @@ jobs:
tail -n1 test_xfailed.log
echo "Return Code: ${RETCODE}"
exit $RETCODE

- name: Show debug info
if: ${{ failure() }}
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ jobs:
cling-version: '1.0'
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand All @@ -123,7 +123,7 @@ jobs:
fi

echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV

- name: Restore Cache LLVM/Clang runtime build directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
if [[ "${cling_on}" == "ON" ]]; then
git clone https://github.com/root-project/cling.git
cd ./cling
cd ./cling
git checkout tags/v${{ matrix.cling-version }}
cd ..
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand Down Expand Up @@ -417,7 +417,7 @@ jobs:
# Install libraries used by the cppyy test suite
sudo apt install libeigen3-dev
sudo apt install libboost-all-dev


- name: Restore Cache LLVM/Clang runtime build directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -530,7 +530,7 @@ jobs:
cmake --build . --parallel ${{ env.ncpus }}
cp libcppyy-backend.so $CPPINTEROP_DIR/lib/
cd ..

- name: Install CPyCppyy
if: ${{ matrix.cppyy == 'On' }}
run: |
Expand Down Expand Up @@ -604,7 +604,7 @@ jobs:
declare -i RETCODE=0

set -o pipefail

echo "Running valgrind on passing tests"
CLANG_VERSION="${{ matrix.clang-runtime }}"
SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind.supp"
Expand All @@ -622,7 +622,7 @@ jobs:
tail -n1 test_xfailed.log
echo "Return Code: ${RETCODE}"
exit $RETCODE

- name: Show debug info
if: ${{ failure() }}
run: |
Expand Down
Loading
Loading