-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
executable file
·56 lines (44 loc) · 1.07 KB
/
.gitlab-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
45
46
47
48
49
50
51
52
53
54
55
include:
- project: 'exanio/gitlab/ci-templates'
ref: main
file: '/.gitlab-ci-sonar.yml'
- project: 'exanio/gitlab/ci-templates'
ref: main
file: '/.gitlab-ci-go-build.yml'
- project: 'exanio/gitlab/ci-templates'
ref: main
file: '/.gitlab-ci-docker-release.yml'
default:
tags:
- autonubil
- dev
stages:
- validate
- go-build
- docker-release
build:
stage: go-build
before_script:
- apt-get update || true
- apt-get install libpcap-dev -y
build_linux_release:
stage: go-build
before_script:
- apt-get update || true
- apt-get install libpcap-dev -y
build_windows_release:
stage: go-build
before_script:
- apt-get update || true
- apt-get install libpcap-dev -y
build_darwin_release:
stage: go-build
before_script:
- apt-get update || true
- apt-get install libpcap-dev -y
#build_arm_release:
# stage: go-build
# before_script:
# - dpkg --add-architecture arm64
# - apt-get update || true
# - apt-get install libpcap-dev:arm64 gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu -y