summaryrefslogtreecommitdiffstats
path: root/.github/workflows/checks.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:04 +0000
commite970e0b37b8bd7f246feb3f70c4136418225e434 (patch)
tree0b67c0ca45f56f2f9d9c5c2e725279ecdf52d2eb /.github/workflows/checks.yml
parentAdding upstream version 1.31.0. (diff)
downloadnetdata-e970e0b37b8bd7f246feb3f70c4136418225e434.tar.xz
netdata-e970e0b37b8bd7f246feb3f70c4136418225e434.zip
Adding upstream version 1.32.0.upstream/1.32.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/checks.yml')
-rw-r--r--.github/workflows/checks.yml41
1 files changed, 8 insertions, 33 deletions
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index e4025dd2..bc746f9a 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -4,7 +4,12 @@ on:
push:
branches:
- master
- pull_request:
+ pull_request: null
+env:
+ DO_NOT_TRACK: 1
+concurrency:
+ group: checks-${{ github.ref }}
+ cancel-in-progress: true
jobs:
checksum-checks:
name: Checksums
@@ -43,41 +48,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- - name: Build
- run: |
- docker build -f .github/dockerfiles/Dockerfile.clang .
- dist-checks:
- name: Dist
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v2
with:
submodules: recursive
- - name: Prepare environment
- run: |
- ./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata
- sudo apt-get install -y libjson-c-dev libipmimonitoring-dev libcups2-dev libsnappy-dev \
- libprotobuf-dev libprotoc-dev libssl-dev protobuf-compiler \
- libnetfilter-acct-dev
- - name: Configure
- run: |
- autoreconf -ivf
- ./configure \
- --with-zlib \
- --with-math \
- --with-user=netdata \
- CFLAGS=-O2
- - name: Make dist
- run: |
- make dist
- - name: Verify & Set distfile
- run: |
- ls -lah netdata-*.tar.gz
- echo "DISTFILE=$(ls netdata-*.tar.gz)" >> $GITHUB_ENV
- - name: Run run_install_with_dist_file.sh
+ - name: Build
run: |
- ./.github/scripts/run_install_with_dist_file.sh "${DISTFILE}"
+ docker build -f .github/dockerfiles/Dockerfile.clang .
gitignore-check:
name: .gitignore
runs-on: ubuntu-latest