mirror of
https://github.com/luscis/openlan.git
synced 2026-04-22 23:07:11 +08:00
fea: add codeql action
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
name: Ubuntu CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -18,18 +14,10 @@ jobs:
|
||||
with:
|
||||
go-version: '1.16.x'
|
||||
|
||||
- name: Require packages
|
||||
- name: Building 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
|
||||
make update && make test && make linux-bin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user