-
Notifications
You must be signed in to change notification settings - Fork 28
46 lines (41 loc) · 1.14 KB
/
gemmini.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
name: Gemmini CI
on:
push:
branches:
- main
pull_request:
jobs:
gemmini:
runs-on: ubuntu-22.04
container:
image: ghcr.io/exo-lang/gemmini:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
apt-get update
apt-get install -y ninja-build
python -m pip install -r requirements.txt
python -m pip install -r dev-requirements.txt
python -m pip install cmake build
- name: Install exo
run: |
python -m build
python -m pip install dist/*.whl
- name: Configure, build, and run GEMMINI tests
shell: bash
run: |
cd /root/chipyard
source $(conda info --base)/etc/profile.d/conda.sh
source env.sh
cd -
cmake -G Ninja -S apps/gemmini -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --verbose
cd build
ctest -V