cmake-args: -DWITH_SANITIZER=Address
codecov: ubuntu_gcc
+ - name: Ubuntu GCC Symbol Prefix
+ os: ubuntu-latest
+ compiler: gcc
+ cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_
+ codecov: ubuntu_gcc_sprefix
+
+ - name: Ubuntu GCC Compat SPrefix
+ os: ubuntu-latest
+ compiler: gcc
+ cmake-args: -DZLIB_COMPAT=ON -DZLIB_SYMBOL_PREFIX=zTest_
+ codecov: ubuntu_gcc_compat_sprefix
+
- name: Ubuntu GCC OSB -O1 No Unaligned64
os: ubuntu-latest
compiler: gcc
cflags: -static
ldflags: -static
+ - name: macOS GCC symbol prefix
+ os: macOS-latest
+ compiler: gcc
+ configure-args: --sprefix=zTest_
+
+ - name: macOS GCC symbol prefix & compat
+ os: macOS-latest
+ compiler: gcc
+ configure-args: --zlib-compat --sprefix=zTest_
+
- name: macOS GCC
os: macOS-latest
compiler: gcc
makefile: win32/Makefile.msc
vc-vars: x86
+ - name: Windows NMake x64 compat
+ os: windows-latest
+ makefile: win32/Makefile.msc
+ vc-vars: x86_amd64
+ additional-args: ZLIB_COMPAT=yes
+
+ - name: Windows NMake x64 sprefix
+ os: windows-latest
+ makefile: win32/Makefile.msc
+ vc-vars: x86_amd64
+ additional-args: SYMBOL_PREFIX=zTest_
+
+ - name: Windows NMake x64 sprefix compat
+ os: windows-latest
+ makefile: win32/Makefile.msc
+ vc-vars: x86_amd64
+ additional-args: ZLIB_COMPAT=yes SYMBOL_PREFIX=zTest_
+
- name: Windows NMake x64
os: windows-latest
makefile: win32/Makefile.msc
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.vc-vars }}
- nmake -f ${{ matrix.makefile }}
+ nmake -f ${{ matrix.makefile }} ${{ matrix.additional-args }}
- name: Run test cases
shell: cmd
if: contains(matrix.vc-vars, 'arm') == false
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.vc-vars }}
- nmake -f ${{ matrix.makefile }} test
- nmake -f ${{ matrix.makefile }} testdll
+ nmake -f ${{ matrix.makefile }} ${{ matrix.additional-args }} test
+ nmake -f ${{ matrix.makefile }} ${{ matrix.additional-args }} testdll
cmake-args: -DWITH_NATIVE_INSTRUCTIONS=ON
configure-args: --native
+ - name: macOS Clang Symbol Prefix
+ os: macOS-latest
+ compiler: clang
+ cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_
+ configure-args: --sprefix=zTest_
+
steps:
- name: Checkout repository
uses: actions/checkout@v1