-
Notifications
You must be signed in to change notification settings - Fork 24
40 lines (36 loc) · 1.23 KB
/
test-qaic-software-kit.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: Test QAIC Software kit Compilation
on:
schedule:
- cron: "1 1 * * 1"
jobs:
build_ubuntu_20_04:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
compiler: [ "gcc", "llvm" ]
llvm-version: [ "12.0.1", "13.0.1", "14.0.0", "15.0.6" ]
exclude:
- llvm-version: "12.0.1"
- llvm-version: "13.0.1"
- llvm-version: "14.0.0"
compiler: "gcc"
- llvm-version: "15.0.6"
compiler: "gcc"
include:
- llvm-version: " "
compiler: "gcc"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install "cmind @ git+https://git@github.com/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo mlcommons@ck
cm run script --tags=get,sys-utils-cm --quiet
- name: Test Software Kit for compilation on Ubuntu 20.04
run: |
cm run script --tags=get,qaic,software,kit --adr.compiler.tags=${{ matrix.compiler }} --adr.compiler.version=${{ matrix.llvm-version }} --quiet