Add build cli & agent to CI (#198)

* Add build cli & agent to CI
This commit is contained in:
Igor Gov 2021-08-10 18:33:46 +03:00 committed by GitHub
parent 0409eb239d
commit 56dc6843e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,12 +9,25 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
- name: Set up Go 1.16
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- run: go version
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build CLI
run: make cli
- shell: bash
run: |
sudo apt-get install libpcap-dev
- name: Build Agent
run: make agent
- name: Test
run: make test