-
Notifications
You must be signed in to change notification settings - Fork 6
39 lines (33 loc) · 967 Bytes
/
build.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
name: Build
on:
pull_request:
push:
branches:
- main
jobs:
build:
if: ${{ github.repository == 'Netflix-Skunkworks/spectatord' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Restore .conan2 Sache
id: cache-conan2-restore
uses: actions/cache/restore@v4
with:
path: $HOME/.conan2
key: ${{ runner.os }}-conan2
- name: Install System Dependencies
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update && sudo apt-get install -y binutils-dev g++-13 libiberty-dev
- name: Build
run: |
./setup-venv.sh
source venv/bin/activate
./build.sh
- name: Save .conan2 Cache
id: cache-conan2-save
uses: actions/cache/save@v4
with:
path: $HOME/.conan2
key: ${{ steps.cache-conan2-restore.outputs.cache-primary-key }}