-
Notifications
You must be signed in to change notification settings - Fork 24
52 lines (47 loc) · 1.28 KB
/
build.yml
File metadata and controls
52 lines (47 loc) · 1.28 KB
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
name: build
on:
push:
branches:
- master
- v*
tags:
- v*
pull_request:
workflow_dispatch:
jobs:
build-amd64:
name: Build AMD64 binaries
runs-on: longhorn-infra-oracle-amd64-spdk-runners
steps:
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Install make curl git kmod
run: |
sudo apt update
sudo apt-get -y install make curl git kmod
# Build binaries
- name: Run ci
run: make ci
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
with:
files: ./coverage.out
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
build-arm64:
name: Build ARM64 binaries
runs-on: longhorn-infra-oracle-arm64-spdk-runners
steps:
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Install make curl git kmod
run: |
sudo apt update
sudo apt-get -y install make curl git kmod
# Build binaries
- name: Run ci
run: sudo make ci
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
with:
files: ./coverage.out
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}