diff options
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f82d0e6..a8c0503 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,17 +27,26 @@ jobs: - name: Display compiler versions run: | - ${{matrix.cc}} --version - ${{matrix.cxx}} --version + ${{matrix.cc}} --version; + ${{matrix.cxx}} --version; - name: Build run: | - ./configure --cc=${{matrix.cc}} --cxx=${{matrix.cxx}} + ./configure --cc=${{matrix.cc}} --cxx=${{matrix.cxx}}; make V=1 -j$(nproc) \ CPPFLAGS="-Werror" \ CFLAGS="$FLAGS" \ - CXXFLAGS="$FLAGS" + CXXFLAGS="$FLAGS"; + + - name: Build (32 bit) + run: | + sudo apt-get install libc6-dev-i386 gcc-multilib g++-multilib -y; + make clean; + make V=1 -j$(nproc) \ + CPPFLAGS="-Werror" \ + CFLAGS="$FLAGS -m32" \ + CXXFLAGS="$FLAGS -m32"; - name: Test install command run: | - sudo make install + sudo make install; |