-
Notifications
You must be signed in to change notification settings - Fork 173
43 lines (40 loc) · 1.4 KB
/
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
40
41
42
43
name: Build
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup additional system libraries
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y xattr attr
- name: Build AIStore on ${{ matrix.os }}
run: |
export GOPATH="$(go env GOPATH)"
MODE="" make node # Build node without backends in production mode.
MODE="debug" make node # Build node without backends in debug mode.
AIS_BACKEND_PROVIDERS="ais aws azure gcp hdfs" MODE="" make node # Build with all backends (production mode).
AIS_BACKEND_PROVIDERS="ais aws azure gcp hdfs" MODE="debug" make node # Build with all backends (debug mode).
MEM_PROFILE="/tmp/mem" CPU_PROFILE="/tmp/cpu" make node # Build with profile.
TAGS="nethttp" make node # Build with net/http transport support (fasthttp is used by default).
TAGS="s3rproxy" make node # Build with reverse proxy support (redirect is used by default).
make authn
make aisfs
make cli
make aisloader