Skip to content

Commit

Permalink
Use compile.sh in CI, r5
Browse files Browse the repository at this point in the history
  • Loading branch information
leshikus committed Oct 24, 2024
1 parent 8de4e2f commit cc992e7
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand All @@ -56,16 +54,14 @@ 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
key: ${{ runner.os }}-build-llvm-${{ env.LLVM_CACHE_NUMBER }}-${{ env.LLVM_SHA }}

- 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
Expand Down

0 comments on commit cc992e7

Please sign in to comment.