forked from devitocodes/devito
-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (33 loc) · 977 Bytes
/
ci-lit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI - lit-based Testing
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: papychacal/xdsl-llvm:98e674c9f16d677d95c67bc130e267fae331e43c
steps:
- name: Checkout Devito
uses: actions/checkout@v4
- name: Install native dependencies
run: |
apt-get update && apt install curl mpich -y
- name: Upgrade pip
run: |
pip install --upgrade pip
- name: Install requirements and xDSL
run: |
pip install -e .[tests]
pip install git+https://github.com/xdslproject/xdsl@f8bb935880276cf077e0a80f1905105d0a98eb33
- name: Execute lit tests
run: |
export PATH=/xdsl-sc/llvm-project/build/bin/:$PATH
lit -v tests/filecheck/