Skip to content

Commit

Permalink
Updating CI with macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
Smit1603 committed Sep 30, 2023
1 parent 84a8c3c commit 3032add
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ jobs:
run: |
echo "BUILD_TYPE=Release" >> $GITHUB_ENV
echo "CODE_COVERAGE=0" >> $GITHUB_ENV
os="${{ matrix.os }}"
if [[ "${os}" == "macos*" ]]; then
echo "ncpus=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
else
echo "ncpus=$(nproc --all)" >> $GITHUB_ENV
fi
# os="${{ matrix.os }}"
# if [[ "${os}" == "macos*" ]]; then
# echo "ncpus=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
# else
# echo "ncpus=$(nproc --all)" >> $GITHUB_ENV
# fi
- name: Setup compiler on Linux
if: runner.os == 'Linux'
Expand Down Expand Up @@ -170,6 +170,7 @@ jobs:
- name: Build LLVM/Cling on Unix if the cache is invalid
if: ${{ runner.os != 'windows' && steps.cache.outputs.cache-hit != 'true' }}
run: |
os="${{ matrix.os }}"
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
if [[ "${cling_on}" == "ON" ]]; then
git clone --depth=1 https://github.com/root-project/cling.git
Expand Down

0 comments on commit 3032add

Please sign in to comment.