forked from NVIDIA/TensorRT-LLM
-
Notifications
You must be signed in to change notification settings - Fork 2
68 lines (58 loc) · 1.68 KB
/
quality-gate.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
build-and-test:
runs-on: ${{ matrix.runs-on }}
timeout-minutes: 40
strategy:
matrix:
include:
- os: "linux"
name: "amd64"
runs-on: "ubuntu-18-04"
# - os: "linux"
# name: "amd64"
# runs-on: "ubuntu-latest"
# - os: "windows"
# name: "amd64"
# runs-on: "windows-cuda-12-0"
# - os: "windows"
# name: "amd64"
# runs-on: "windows-latest"
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
- name: Install make on Windows
if: runner.os == 'windows'
run: |
choco install make -y
- name: Install dependencies
run: |
apt install uuid-dev
strings /usr/lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_2.3
cd cpp/tensorrt_llm/cortex.tensorrt-llm
make install-dependencies
# - name: Build engine
# run: |
# cd cpp/tensorrt_llm/cortex.tensorrt-llm
# make build-engine
- name: Build example server
run: |
cd cpp/tensorrt_llm/cortex.tensorrt-llm
make build-example-server
- name: Run e2e test
run: |
cd cpp/tensorrt_llm/cortex.tensorrt-llm
make run-e2e-test
# - name: Package
# run: |
# make package
# - name: Upload Artifact
# uses: actions/upload-artifact@v2
# with:
# name: cortex.tensorrt-llm-${{ matrix.os }}-${{ matrix.name }}
# path: ./cortex.tensorrt-llm.tar.gz