diff options
author | Ammar Faizi <ammarfaizi2@gmail.com> | 2021-09-18 05:14:47 +0700 |
---|---|---|
committer | Ammar Faizi <ammarfaizi2@gmail.com> | 2021-09-18 05:14:47 +0700 |
commit | dd5b44c509c9833da8bd283c3857b41bfe8bafe8 (patch) | |
tree | c523adcb360cd49642a9c436842b551bb47a92c5 /.github | |
parent | d859ae0dd023dd37a12be30bfe0a7bca6dd4140a (diff) | |
download | liburing-dd5b44c509c9833da8bd283c3857b41bfe8bafe8.tar.gz |
.github/workflows/build.yml: add 32-bit build
Signed-off-by: Ammar Faizi <ammarfaizi2@gmail.com>
Diffstat (limited to '.github')
-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; |