-
Notifications
You must be signed in to change notification settings - Fork 20
52 lines (35 loc) · 970 Bytes
/
CI.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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install cmake
uses: jwlawson/[email protected]
- name: Install clang
run: |
sudo apt-get update
sudo apt-get install -y clang llvm
- name: Install lld and ninja
run: |
sudo apt-get install -y lld ninja-build
- name: Cache Submodules
id: cache-submodules
uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-cache-submodules
- name: Update Submodules
run:
git submodule update --init --recursive
git submodule update --recursive --remote