forked from memcached/memcached
-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (47 loc) · 1.38 KB
/
manual.yml
File metadata and controls
50 lines (47 loc) · 1.38 KB
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
name: GitHub CI
on:
workflow_dispatch:
inputs:
buildCommand:
description: 'Build Command'
required: false
default: "make -j"
cleanCommand:
description: 'Clean Command'
required: false
default: "make clean || true"
buildPath:
description: 'Build Path'
required: false
default: "."
options:
description: 'Coderrect Option Flags'
required: false
default: "-analyzeAllBinaries"
exit0:
description: 'Whether exit with 0 when races detected'
required: false
default: false
jobs:
ubuntu-build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install deps
run: |
sudo apt-get update -y
sudo apt-get install -y libevent-dev libseccomp-dev git libsasl2-dev
- name: Build
run: |
gcc --version
./autogen.sh
./configure --enable-seccomp --enable-tls --enable-sasl --enable-sasl-pwdb
make -j8
- name: coderrect scan
uses: coderrect-inc/coderrect-github-action@main
with:
buildCommand: ${{ github.event.buildCommand }}
cleanCommand: ${{ github.event.cleanCommand }}
buildPath: ${{ github.event.buildPath }}
options: ${{ github.event.options }}
exit0: ${{ github.event.exit0 }}