Build the CI also on bionic.

Bionic has a more recent compiler who will catch more issue with the
code.
This commit is contained in:
Matthieu Gautier 2020-06-02 10:52:24 +02:00
parent fd62acd232
commit 6f92b7e120
1 changed files with 19 additions and 8 deletions

View File

@ -53,30 +53,41 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
target: name:
- native_static - native_static
- native_dyn - native_dyn
- native_dyn_bionic
- android_arm - android_arm
- android_arm64 - android_arm64
- win32_static - win32_static
- win32_dyn - win32_dyn
include: include:
- target: native_static - name: native_static
target: native_static
image_variant: xenial image_variant: xenial
lib_postfix: '/x86_64-linux-gnu' lib_postfix: '/x86_64-linux-gnu'
- target: native_dyn - name: native_dyn
target: native_dyn
image_variant: xenial image_variant: xenial
lib_postfix: '/x86_64-linux-gnu' lib_postfix: '/x86_64-linux-gnu'
- target: android_arm - name: native_dyn_bionic
target: native_dyn
image_variant: bionic
lib_postfix: '/x86_64-linux-gnu'
- name: android_arm
target: android_arm
image_variant: xenial image_variant: xenial
lib_postfix: '/x86_64-linux-gnu' lib_postfix: '/x86_64-linux-gnu'
- target: android_arm64 - name: android_arm64
target: android_arm64
image_variant: xenial image_variant: xenial
lib_postfix: '/x86_64-linux-gnu' lib_postfix: '/x86_64-linux-gnu'
- target: win32_static - name: win32_static
target: win32_static
image_variant: f31 image_variant: f31
lib_postfix: '64' lib_postfix: '64'
- target: win32_dyn - name: win32_dyn
target: win32_dyn
image_variant: f31 image_variant: f31
lib_postfix: '64' lib_postfix: '64'
env: env:
@ -147,6 +158,6 @@ jobs:
curl https://codecov.io/bash -o codecov.sh curl https://codecov.io/bash -o codecov.sh
bash codecov.sh -n "${OS_NAME}_${{matrix.target}}" -Z bash codecov.sh -n "${OS_NAME}_${{matrix.target}}" -Z
rm codecov.sh rm codecov.sh
if: startsWith(matrix.target, 'native_') if: startsWith(matrix.target, 'native_') && matrix.image_variant == 'xenial'
env: env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}