From 8453074d23d4b2953d887721d8cd6e6190232be7 Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Sat, 4 Jan 2025 21:24:04 -0800 Subject: [PATCH] Comment some builds. --- .github/workflows/cmake.yml | 394 ++++++++++++++++++------------------ 1 file changed, 197 insertions(+), 197 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b133fb6bba..37da6272d1 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -15,71 +15,71 @@ jobs: fail-fast: false matrix: include: - - name: Ubuntu 20.04 GCC - os: ubuntu-20.04 - compiler: gcc - cxx-compiler: g++ - - - name: Ubuntu GCC ASAN - os: ubuntu-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -DWITH_SANITIZER=Address - codecov: ubuntu_gcc - - - name: Ubuntu GCC Benchmark - os: ubuntu-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -DWITH_BENCHMARKS=ON - codecov: ubuntu_gcc_benchmark - - - name: Ubuntu GCC Native Instructions - os: ubuntu-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -DWITH_NATIVE_INSTRUCTIONS=ON - codecov: ubuntu_gcc_native_inst - - - name: Ubuntu GCC Native Instructions (AVX) - os: ubuntu-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE="-mavx -mpclmul" - codecov: ubuntu_gcc_native_inst_avx - - - name: Ubuntu GCC Symbol Prefix - os: ubuntu-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_ - codecov: ubuntu_gcc_sprefix - - - name: Ubuntu GCC Compat Symbol Prefix - os: ubuntu-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -DZLIB_COMPAT=ON -DZLIB_SYMBOL_PREFIX=zTest_ - codecov: ubuntu_gcc_compat_sprefix - - - name: Ubuntu GCC -O3 OSB - os: ubuntu-latest - compiler: gcc - cxx-compiler: g++ - build-dir: ../build - build-src-dir: ../zlib-ng - # Build with readonly project directory require CMake 3.19+ - readonly-project-dir: true - codecov: ubuntu_gcc_osb - cflags: -O3 - - - name: Ubuntu GCC -O3 OSB add_subdirectory - os: ubuntu-latest - compiler: gcc - cxx-compiler: g++ - build-dir: ../build - build-src-dir: ../zlib-ng/test/add-subdirectory-project - readonly-project-dir: true + # - name: Ubuntu 20.04 GCC + # os: ubuntu-20.04 + # compiler: gcc + # cxx-compiler: g++ + + # - name: Ubuntu GCC ASAN + # os: ubuntu-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -DWITH_SANITIZER=Address + # codecov: ubuntu_gcc + + # - name: Ubuntu GCC Benchmark + # os: ubuntu-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -DWITH_BENCHMARKS=ON + # codecov: ubuntu_gcc_benchmark + + # - name: Ubuntu GCC Native Instructions + # os: ubuntu-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -DWITH_NATIVE_INSTRUCTIONS=ON + # codecov: ubuntu_gcc_native_inst + + # - name: Ubuntu GCC Native Instructions (AVX) + # os: ubuntu-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE="-mavx -mpclmul" + # codecov: ubuntu_gcc_native_inst_avx + + # - name: Ubuntu GCC Symbol Prefix + # os: ubuntu-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_ + # codecov: ubuntu_gcc_sprefix + + # - name: Ubuntu GCC Compat Symbol Prefix + # os: ubuntu-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -DZLIB_COMPAT=ON -DZLIB_SYMBOL_PREFIX=zTest_ + # codecov: ubuntu_gcc_compat_sprefix + + # - name: Ubuntu GCC -O3 OSB + # os: ubuntu-latest + # compiler: gcc + # cxx-compiler: g++ + # build-dir: ../build + # build-src-dir: ../zlib-ng + # # Build with readonly project directory require CMake 3.19+ + # readonly-project-dir: true + # codecov: ubuntu_gcc_osb + # cflags: -O3 + + # - name: Ubuntu GCC -O3 OSB add_subdirectory + # os: ubuntu-latest + # compiler: gcc + # cxx-compiler: g++ + # build-dir: ../build + # build-src-dir: ../zlib-ng/test/add-subdirectory-project + # readonly-project-dir: true - name: Ubuntu GCC -O1 UBSAN os: ubuntu-latest @@ -459,138 +459,138 @@ jobs: cmake-args: -GNinja -DCMAKE_TOOLCHAIN_FILE=./cmake/toolchain-riscv.cmake -DTOOLCHAIN_PATH=${PWD}/prebuilt-riscv-toolchain-qemu/riscv-clang -DQEMU_PATH=${PWD}/prebuilt-riscv-toolchain-qemu/riscv-qemu/bin/qemu-riscv64 packages: build-essential cmake ninja-build - - name: Ubuntu Emscripten WASM32 - os: ubuntu-latest - chost: wasm32 - cmake-args: -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_C_COMPILER_TARGET=wasm32 -DCMAKE_CROSSCOMPILING_EMULATOR=${EMSDK_NODE} -DZLIB_COMPAT=ON - - - name: Windows MSVC 2022 v143 Win32 - os: windows-latest - compiler: cl - cmake-args: -G "Visual Studio 17 2022" -A Win32 -T v143 - - - name: Windows MSVC 2022 v143 Win64 - os: windows-latest - compiler: cl - cmake-args: -G "Visual Studio 17 2022" -A x64 -T v143 - - - name: Windows MSVC 2022 v143 Win64 Native Instructions (AVX) - os: windows-latest - compiler: cl - cmake-args: -G "Visual Studio 17 2022" -A x64 -T v143 -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE=/arch:AVX - - - name: Windows MSVC 2022 v142 Win32 - os: windows-latest - compiler: cl - cmake-args: -G "Visual Studio 17 2022" -A Win32 -T v142 - - - name: Windows MSVC 2022 v142 Win64 - os: windows-latest - compiler: cl - cmake-args: -G "Visual Studio 17 2022" -A x64 -T v142 - - - name: Windows MSVC 2019 v141 Win32 - os: windows-2019 - compiler: cl - cmake-args: -G "Visual Studio 16 2019" -A Win32 -T v141 - - - name: Windows MSVC 2019 v141 Win64 - os: windows-2019 - compiler: cl - cmake-args: -G "Visual Studio 16 2019" -A x64 -T v141 - - - name: Windows MSVC 2019 v140 Win32 - os: windows-2019 - compiler: cl - cmake-args: -G "Visual Studio 16 2019" -A Win32 -T v140 - - - name: Windows MSVC 2019 v140 Win64 - os: windows-2019 - compiler: cl - cmake-args: -G "Visual Studio 16 2019" -A x64 -T v140 - - - name: Windows MSVC ARM No Test - os: windows-latest - compiler: cl - cmake-args: -A ARM,version=10.0.22621.0 - - - name: Windows MSVC ARM64 No Test - os: windows-latest - compiler: cl - cmake-args: -A ARM64 - - - name: Windows ClangCl Win32 - os: windows-latest - cmake-args: -T ClangCl -A Win32 - - - name: Windows ClangCl Win64 - os: windows-latest - cmake-args: -T ClangCl -A x64 - - - name: Windows ClangCl Win64 Native Instructions (AVX) - os: windows-latest - cmake-args: -T ClangCl -A x64 -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE="-mavx -mpclmul" - - - name: Windows GCC - os: windows-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -G Ninja - codecov: win64_gcc - - - name: Windows GCC Native Instructions (AVX) - os: windows-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -G Ninja -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE="-mavx -mpclmul" - - - name: Windows GCC Compat No Opt - os: windows-latest - compiler: gcc - cxx-compiler: g++ - cmake-args: -G Ninja -DZLIB_COMPAT=ON -DWITH_NEW_STRATEGIES=OFF -DWITH_OPTIM=OFF - codecov: win64_gcc_compat_no_opt - - - name: macOS Clang ASAN - os: macos-13 - compiler: clang - cxx-compiler: clang++ - cmake-args: -DWITH_SANITIZER=Address - codecov: macos_clang - - - name: macOS Clang ASAN (ARM64) - os: macos-latest - compiler: clang - cxx-compiler: clang++ - cmake-args: -DWITH_SANITIZER=Address - codecov: macos_clang_arm64 - - - name: macOS GCC UBSAN - os: macos-13 - compiler: gcc-10 - cxx-compiler: g++-10 - # Xcode 15 uses a new linker that is not compatible with GCC. Switch to the old linker. - # Homebrew gcc@11 and later have a built-in workaround for it. - ldflags: -ld_classic - cmake-args: -DWITH_SANITIZER=Undefined - packages: gcc@10 - gcov-exec: gcov-10 - codecov: macos_gcc - - - name: macOS GCC UBSAN (ARM64) - os: macos-latest - compiler: gcc-13 - cxx-compiler: g++-13 - cmake-args: -DWITH_SANITIZER=Undefined - packages: gcc@13 - gcov-exec: gcov-13 - codecov: macos_gcc_arm64 - - - name: macOS Clang Native Instructions (ARM64) - os: macos-14 - compiler: clang - cxx-compiler: clang++ - cmake-args: -DWITH_NATIVE_INSTRUCTIONS=ON + # - name: Ubuntu Emscripten WASM32 + # os: ubuntu-latest + # chost: wasm32 + # cmake-args: -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_C_COMPILER_TARGET=wasm32 -DCMAKE_CROSSCOMPILING_EMULATOR=${EMSDK_NODE} -DZLIB_COMPAT=ON + + # - name: Windows MSVC 2022 v143 Win32 + # os: windows-latest + # compiler: cl + # cmake-args: -G "Visual Studio 17 2022" -A Win32 -T v143 + + # - name: Windows MSVC 2022 v143 Win64 + # os: windows-latest + # compiler: cl + # cmake-args: -G "Visual Studio 17 2022" -A x64 -T v143 + + # - name: Windows MSVC 2022 v143 Win64 Native Instructions (AVX) + # os: windows-latest + # compiler: cl + # cmake-args: -G "Visual Studio 17 2022" -A x64 -T v143 -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE=/arch:AVX + + # - name: Windows MSVC 2022 v142 Win32 + # os: windows-latest + # compiler: cl + # cmake-args: -G "Visual Studio 17 2022" -A Win32 -T v142 + + # - name: Windows MSVC 2022 v142 Win64 + # os: windows-latest + # compiler: cl + # cmake-args: -G "Visual Studio 17 2022" -A x64 -T v142 + + # - name: Windows MSVC 2019 v141 Win32 + # os: windows-2019 + # compiler: cl + # cmake-args: -G "Visual Studio 16 2019" -A Win32 -T v141 + + # - name: Windows MSVC 2019 v141 Win64 + # os: windows-2019 + # compiler: cl + # cmake-args: -G "Visual Studio 16 2019" -A x64 -T v141 + + # - name: Windows MSVC 2019 v140 Win32 + # os: windows-2019 + # compiler: cl + # cmake-args: -G "Visual Studio 16 2019" -A Win32 -T v140 + + # - name: Windows MSVC 2019 v140 Win64 + # os: windows-2019 + # compiler: cl + # cmake-args: -G "Visual Studio 16 2019" -A x64 -T v140 + + # - name: Windows MSVC ARM No Test + # os: windows-latest + # compiler: cl + # cmake-args: -A ARM,version=10.0.22621.0 + + # - name: Windows MSVC ARM64 No Test + # os: windows-latest + # compiler: cl + # cmake-args: -A ARM64 + + # - name: Windows ClangCl Win32 + # os: windows-latest + # cmake-args: -T ClangCl -A Win32 + + # - name: Windows ClangCl Win64 + # os: windows-latest + # cmake-args: -T ClangCl -A x64 + + # - name: Windows ClangCl Win64 Native Instructions (AVX) + # os: windows-latest + # cmake-args: -T ClangCl -A x64 -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE="-mavx -mpclmul" + + # - name: Windows GCC + # os: windows-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -G Ninja + # codecov: win64_gcc + + # - name: Windows GCC Native Instructions (AVX) + # os: windows-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -G Ninja -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE="-mavx -mpclmul" + + # - name: Windows GCC Compat No Opt + # os: windows-latest + # compiler: gcc + # cxx-compiler: g++ + # cmake-args: -G Ninja -DZLIB_COMPAT=ON -DWITH_NEW_STRATEGIES=OFF -DWITH_OPTIM=OFF + # codecov: win64_gcc_compat_no_opt + + # - name: macOS Clang ASAN + # os: macos-13 + # compiler: clang + # cxx-compiler: clang++ + # cmake-args: -DWITH_SANITIZER=Address + # codecov: macos_clang + + # - name: macOS Clang ASAN (ARM64) + # os: macos-latest + # compiler: clang + # cxx-compiler: clang++ + # cmake-args: -DWITH_SANITIZER=Address + # codecov: macos_clang_arm64 + + # - name: macOS GCC UBSAN + # os: macos-13 + # compiler: gcc-10 + # cxx-compiler: g++-10 + # # Xcode 15 uses a new linker that is not compatible with GCC. Switch to the old linker. + # # Homebrew gcc@11 and later have a built-in workaround for it. + # ldflags: -ld_classic + # cmake-args: -DWITH_SANITIZER=Undefined + # packages: gcc@10 + # gcov-exec: gcov-10 + # codecov: macos_gcc + + # - name: macOS GCC UBSAN (ARM64) + # os: macos-latest + # compiler: gcc-13 + # cxx-compiler: g++-13 + # cmake-args: -DWITH_SANITIZER=Undefined + # packages: gcc@13 + # gcov-exec: gcov-13 + # codecov: macos_gcc_arm64 + + # - name: macOS Clang Native Instructions (ARM64) + # os: macos-14 + # compiler: clang + # cxx-compiler: clang++ + # cmake-args: -DWITH_NATIVE_INSTRUCTIONS=ON steps: - name: Checkout repository