From 9c35627d874c4f6aca50abce037b55fc279fab68 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Fri, 27 Sep 2024 18:33:51 +0200 Subject: [PATCH] CI: add tests on macos-15 (#2571) --- .github/workflows/build.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c57a2727fb..692852af26c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,8 +75,8 @@ jobs: strategy: fail-fast: true matrix: - # macOS-latest == macos-14 on **ARM64** - # There are some issues with external dependencies on macOS-latest. Disable it for the time being + # macOS-latest == macos-14 on **ARM64**. Also macos-15 is on arm64 + # There are some issues with external dependencies on macOS-14/15. Disable it for the time being os: ["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04", "macOS-12", "macOS-13", "windows-latest"] arch: ["x86_64"] gcrypt: ["--with-local-libgcrypt", ""] @@ -190,6 +190,14 @@ jobs: maxminddb: "" msan: "" # Disable sanitizer on macos nBPF: "" + - compiler: "cc" + os: macos-15 + arch: "x86_64" + gcrypt: "" + pcre: "" + maxminddb: "" + msan: "" # Disable sanitizer on macos + nBPF: "" - compiler: "cc" os: ubuntu-latest arch: "arm64" @@ -307,13 +315,13 @@ jobs: msys2 -c 'make -j all' msys2 -c 'ldd ./example/ndpiReader.exe' - name: Build nDPI - if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macos-14') + if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macos-14') && !startsWith(matrix.os, 'macos-15') run: | make -j all make -C example ndpiSimpleIntegration make -C rrdtool - name: Build nDPI (MacOS M1) - if: startsWith(matrix.os, 'macos-14') + if: startsWith(matrix.os, 'macos-14') || startsWith(matrix.os, 'macos-15') run: | make -j all make -C example ndpiSimpleIntegration @@ -340,7 +348,7 @@ jobs: NDPI_FORCE_PARALLEL_UTESTS=1 NDPI_SKIP_PARALLEL_BAR=1 ./tests/do.sh - name: Test nDPI [UNIT] #Some issues with masan + json-c. Disable the test as workaround - if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows') && !startsWith(matrix.msan, '--with-memory-sanitizer') && !startsWith(matrix.os, 'macos-14') + if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows') && !startsWith(matrix.msan, '--with-memory-sanitizer') && !startsWith(matrix.os, 'macos-14') && !startsWith(matrix.os, 'macos-15') run: | ./tests/do-unit.sh - name: Test nDPI [DGA]