summaryrefslogtreecommitdiffstats
path: root/.github/workflows/checks.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:11 +0000
commit483926a283e118590da3f9ecfa75a8a4d62143ce (patch)
treecb77052778df9a128a8cd3ff5bf7645322a13bc5 /.github/workflows/checks.yml
parentReleasing debian version 1.31.0-4. (diff)
downloadnetdata-483926a283e118590da3f9ecfa75a8a4d62143ce.tar.xz
netdata-483926a283e118590da3f9ecfa75a8a4d62143ce.zip
Merging upstream version 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 e4025dd20..bc746f9ac 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