From cc992e746503c399b2d03cc38e589f5c607b4ddc Mon Sep 17 00:00:00 2001 From: Alexei Fedotov Date: Thu, 24 Oct 2024 09:32:17 +0200 Subject: [PATCH] Use compile.sh in CI, r5 --- .github/workflows/build.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f47e9852b..373086058 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,9 @@ jobs: build_linux: name: Builds IMEX on Linux runs-on: ubuntu-latest - timeout-minutes: 450 + defaults: + run: + shell: bash -l -eo pipefail {0} strategy: matrix: @@ -34,19 +36,15 @@ jobs: activate-environment: imex-devel - name: Conda info - shell: bash -le {0} run: conda info - name: Install Build tools - shell: bash -le {0} run: | conda install cmake ninja conda-forge::lit conda-forge::doxygen conda list - name: Checkout repo uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Setup Cache Vars run: | @@ -56,7 +54,7 @@ jobs: id: cache-llvm-mlir uses: actions/cache@v4 env: - LLVM_CACHE_NUMBER: 1 # Increase to reset cache + LLVM_CACHE_NUMBER: 2 # Increase to reset cache with: path: | ${{ github.workspace }}/mlir @@ -64,8 +62,6 @@ jobs: - name: Build LLVM-MLIR if: steps.cache-llvm-mlir.outputs.cache-hit != 'true' - shell: bash -el {0} - timeout-minutes: 420 run: | git clone https://github.com/llvm/llvm-project --branch main --single-branch cd llvm-project