diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-08-09 16:14:37 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-08-10 00:39:27 +0200 |
commit | 2fca31ccc14c0655a21bdc9058096107cd38a42c (patch) | |
tree | 8adea7d4a40a9521c897bd22db79021724725061 /.github/workflows | |
parent | 729ff21d0cbc74cc0b100d95998d59e082b3b2e4 (diff) |
Fixed Mingw64 build.improved/sonarcloud-ci
* adapted to SonarCloud-CI workflow
* removed broken and incomplete Windows example (tested on VS2017/VS2019)
* removed unnecessary include (e.g. pthread.h for the library which does not make use of it)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 8 |
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 |