From 3032add92ae1d55a3a1c5e12bc6ad08aae8cfc5f Mon Sep 17 00:00:00 2001 From: Smit1603 Date: Sat, 30 Sep 2023 18:51:25 +0530 Subject: [PATCH] Updating CI with macos build --- .github/workflows/ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b873f235..0b418963b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' @@ -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