CI: add jobs to check if using suffix works as expected
This commit is contained in:
parent
31a599722f
commit
efdd0fd48b
|
|
@ -16,8 +16,9 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
libvvp: [false, true]
|
libvvp: [false, true]
|
||||||
|
suffix: [false, true]
|
||||||
runs-on: macos-15-intel
|
runs-on: macos-15-intel
|
||||||
name: 🍏 macOS${{ matrix.libvvp && ' +libvvp' || '' }}
|
name: 🍏 macOS${{ matrix.libvvp && ' +libvvp' || '' }}${{ matrix.suffix && ' +suffix' || '' }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -34,6 +35,9 @@ jobs:
|
||||||
if [ "${{ matrix.libvvp }}" = "true" ]; then
|
if [ "${{ matrix.libvvp }}" = "true" ]; then
|
||||||
CONFIG_OPTS="$CONFIG_OPTS --enable-libvvp"
|
CONFIG_OPTS="$CONFIG_OPTS --enable-libvvp"
|
||||||
fi
|
fi
|
||||||
|
if [ "${{ matrix.suffix }}" = "true" ]; then
|
||||||
|
CONFIG_OPTS="$CONFIG_OPTS --enable-suffix"
|
||||||
|
fi
|
||||||
autoconf
|
autoconf
|
||||||
./configure $CONFIG_OPTS
|
./configure $CONFIG_OPTS
|
||||||
make -j$(nproc) check
|
make -j$(nproc) check
|
||||||
|
|
@ -50,8 +54,9 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: ['22.04', '24.04']
|
os: ['22.04', '24.04']
|
||||||
libvvp: [false, true]
|
libvvp: [false, true]
|
||||||
|
suffix: [false, true]
|
||||||
runs-on: ubuntu-${{ matrix.os }}
|
runs-on: ubuntu-${{ matrix.os }}
|
||||||
name: 🐧 Ubuntu ${{ matrix.os }}${{ matrix.libvvp && ' +libvvp' || '' }}
|
name: 🐧 Ubuntu ${{ matrix.os }}${{ matrix.libvvp && ' +libvvp' || '' }}${{ matrix.suffix && ' +suffix' || '' }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -67,6 +72,9 @@ jobs:
|
||||||
if [ "${{ matrix.libvvp }}" = "true" ]; then
|
if [ "${{ matrix.libvvp }}" = "true" ]; then
|
||||||
CONFIG_OPTS="$CONFIG_OPTS --enable-libvvp"
|
CONFIG_OPTS="$CONFIG_OPTS --enable-libvvp"
|
||||||
fi
|
fi
|
||||||
|
if [ "${{ matrix.suffix }}" = "true" ]; then
|
||||||
|
CONFIG_OPTS="$CONFIG_OPTS --enable-suffix"
|
||||||
|
fi
|
||||||
autoconf
|
autoconf
|
||||||
./configure $CONFIG_OPTS
|
./configure $CONFIG_OPTS
|
||||||
make -j$(nproc) check
|
make -j$(nproc) check
|
||||||
|
|
@ -88,11 +96,12 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
msystem: [MINGW64, UCRT64, CLANG64]
|
msystem: [MINGW64, UCRT64, CLANG64]
|
||||||
libvvp: [false, true]
|
libvvp: [false, true]
|
||||||
|
suffix: [false, true]
|
||||||
include:
|
include:
|
||||||
- { msystem: MINGW64, env: x86_64 }
|
- { msystem: MINGW64, env: x86_64 }
|
||||||
- { msystem: UCRT64, env: ucrt-x86_64 }
|
- { msystem: UCRT64, env: ucrt-x86_64 }
|
||||||
- { msystem: CLANG64, env: clang-x86_64 }
|
- { msystem: CLANG64, env: clang-x86_64 }
|
||||||
name: 🟪 ${{ matrix.msystem }}${{ matrix.libvvp && ' +libvvp' || '' }}
|
name: 🟪 ${{ matrix.msystem }}${{ matrix.libvvp && ' +libvvp' || '' }}${{ matrix.suffix && ' +suffix' || '' }}
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
|
|
@ -129,6 +138,9 @@ jobs:
|
||||||
if [ "${{ matrix.libvvp }}" = "true" ] ; then
|
if [ "${{ matrix.libvvp }}" = "true" ] ; then
|
||||||
CONFIG_OPTS="$CONFIG_OPTS --enable-libvvp"
|
CONFIG_OPTS="$CONFIG_OPTS --enable-libvvp"
|
||||||
fi
|
fi
|
||||||
|
if [ "${{ matrix.suffix }}" = "true" ]; then
|
||||||
|
CONFIG_OPTS="$CONFIG_OPTS --enable-suffix"
|
||||||
|
fi
|
||||||
export IVL_CONFIG_OPTIONS="$CONFIG_OPTS"
|
export IVL_CONFIG_OPTIONS="$CONFIG_OPTS"
|
||||||
makepkg-mingw --noconfirm --noprogressbar -sCLf
|
makepkg-mingw --noconfirm --noprogressbar -sCLf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue