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