summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/chunkio/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:57:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:57:58 +0000
commitbe1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch)
tree9754ff1ca740f6346cf8483ec915d4054bc5da2d /fluent-bit/lib/chunkio/.github
parentInitial commit. (diff)
downloadnetdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.tar.xz
netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.zip
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/lib/chunkio/.github')
-rw-r--r--fluent-bit/lib/chunkio/.github/workflows/ci.yaml45
1 files changed, 45 insertions, 0 deletions
diff --git a/fluent-bit/lib/chunkio/.github/workflows/ci.yaml b/fluent-bit/lib/chunkio/.github/workflows/ci.yaml
new file mode 100644
index 00000000..c937a2c9
--- /dev/null
+++ b/fluent-bit/lib/chunkio/.github/workflows/ci.yaml
@@ -0,0 +1,45 @@
+name: Build PR(s) and master branch.
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+ types: [opened, edited, synchronize]
+jobs:
+ build-windows:
+ name: Build sources on amd64 for ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ max-parallel: 48
+ fail-fast: false
+ matrix:
+ os: [windows-latest, windows-2019]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Build on ${{ matrix.os }} with vs-2019
+ run: |
+ .\scripts\win_build.bat
+ - name: Run unit tests.
+ run: |
+ ctest --rerun-failed --output-on-failure -C Debug --test-dir .
+ build-unix:
+ name: Build sources on amd64 for ${{ matrix.os }} - ${{ matrix.compiler }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ max-parallel: 48
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest, macos-latest]
+ compiler: [ gcc, clang ]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Build on ${{ matrix.os }} with ${{ matrix.compiler }}
+ run: |
+ echo "CC = $CC, CXX = $CXX"
+ cmake -DCIO_TESTS=On .
+ make all
+ ctest --rerun-failed --output-on-failure -C Debug --test-dir .
+ env:
+ CC: ${{ matrix.compiler }}