-
-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (35 loc) · 968 Bytes
/
test.yaml
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
name: build_test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-with-cmake:
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install meson libglew-dev
- run: mkdir -p grpc-dev
- name: Download grpc-dev
run: |
curl -L https://github.com/zwin-project/grpc-dev/releases/download/0.0.1/grpc-dev-refs.heads.main-github-host.zip -o grpc-dev.zip
unzip grpc-dev.zip
working-directory: ./grpc-dev
- name: Checkout
uses: actions/checkout@v2
with:
path: zen-remote
submodules: true
- name: Build
working-directory: ./zen-remote
env:
CXX: clang++
CC: clang
run: |
cmake -B build -DZEN_REMOTE_GRPC_SYSROOT=$GITHUB_WORKSPACE/grpc-dev/native/Debug
cmake --build build -j