summaryrefslogtreecommitdiffstats
path: root/.github/workflows/checks.yml
diff options
context:
space:
mode:
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