Files
openlan/.github/workflows/ubuntu.yml
T
2022-09-24 09:57:17 +08:00

36 lines
726 B
YAML

name: Ubuntu CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup golang
uses: actions/setup-go@v3
with:
go-version: '1.16.x'
- name: Require packages
run: |
sudo apt update
sudo apt install -y liblzo2-dev libpam-dev
sudo apt install -y graphviz autoconf automake bzip2 debhelper dh-autoreconf libssl-dev libtool openssl procps python-all python-six libunbound-dev
- name: Update source code
run: make update
- name: Running unit tests
run: make test
- name: Building linux package
run: make gz