summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-09-17 18:17:42 -0600
committerJens Axboe <axboe@kernel.dk>2021-09-17 18:17:42 -0600
commit1488fc5d0dececea9e468f8cfaafbbd2b215e2cb (patch)
treec523adcb360cd49642a9c436842b551bb47a92c5
parentd859ae0dd023dd37a12be30bfe0a7bca6dd4140a (diff)
parentdd5b44c509c9833da8bd283c3857b41bfe8bafe8 (diff)
downloadliburing-1488fc5d0dececea9e468f8cfaafbbd2b215e2cb.tar.gz
liburing-1488fc5d0dececea9e468f8cfaafbbd2b215e2cb.tar.bz2
Merge branch 'ci-add-32-bit-build' of https://github.com/ammarfaizi2/liburing
* 'ci-add-32-bit-build' of https://github.com/ammarfaizi2/liburing: .github/workflows/build.yml: add 32-bit build
-rw-r--r--.github/workflows/build.yml19
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;