-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 961 Bytes
/
build_linux.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
name: build linux
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install LLVM and Clang 16
uses: KyleMayes/install-llvm-action@v1
with:
version: '16.0.4'
env: true
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.26.x'
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.20'
- name: deps fetch dependencies
run:
go run github.com/piot/deps/src/deps@main fetch
- name: create cmake cache
run: cmake -DCMAKE_BUILD_TYPE=Debug .
- name: build
run: cmake --build . --clean-first -- VERBOSE=1
- uses: actions/upload-artifact@v2
with:
name: Nimble Serialize Linux Library
path: |
src/lib/libnimble-serialize.a