aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2f17d05d0..d8d69344b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,7 +14,7 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Install dependencies
- run: sudo apt-get install libpcap-dev libjson-c-dev libgcrypt20-dev gcc-arm-linux-gnueabihf
+ run: sudo apt-get install build-essential libc6-dev libpcap-dev libjson-c-dev libgcrypt20-dev gcc-arm-linux-gnueabihf gcc-mingw-w64
- name: Configure
run: env CFLAGS='-Werror' ./autogen.sh
- name: Build
@@ -24,6 +24,10 @@ jobs:
- name: Test UNIT
run: ./tests/unit/unit
- name: Configure ARM
- run: env CFLAGS='-Werror' ./autogen.sh --host=arm-linux-gnueabihf
+ run: make distclean && env CFLAGS='-Werror' ./autogen.sh --host=arm-linux-gnueabihf --with-only-libndpi
- name: Build ARM
run: make all
+ - name: Configure Mingw-w64
+ run: make distclean && ./autogen.sh --host=x86_64-w64-mingw32
+ - name: Build Mingw-w64
+ run: make all