dev_1127 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- goarch: amd64 | |
goos: linux | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.17' | |
- name: Apt Install ... | |
run: sudo apt-get update; sudo apt-get install libpcap-dev # install libpcap for gopcap-sdk | |
- name: Show Project ... | |
run: ls -al | |
- name: Compile | |
run: make build | |
- name: Test | |
run: make test |