-
Notifications
You must be signed in to change notification settings - Fork 15
47 lines (38 loc) · 953 Bytes
/
build.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
41
42
43
44
45
46
47
name: Graph Compiler build
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
permissions: read-all
jobs:
build:
name: Build
runs-on: [self-hosted]
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- name: Setup MLIR Python bindings
id: setup-mlir-python-bindings
uses: ./.github/actions/setup-mlir-python-bindings
- name: Build
run: |
scripts/compile.sh
- name: Test
run: |
cmake --build build --target gc-check
- name: Build and install benchgc
working-directory: build
run: |
ninja benchgc
pip uninstall -y benchgc || true
pip install test/benchgc/dist/benchgc-*.whl
- name: Correctness Test
env:
LD_PRELOAD: /lib/x86_64-linux-gnu/libomp5.so
run: |
scripts/correctness.sh