added macos arm64 tests
and comment out windows arm64 tests due to unacceptably long queue time
This commit is contained in:
@@ -87,10 +87,10 @@ jobs:
|
|||||||
flags: "-A Win32"
|
flags: "-A Win32"
|
||||||
name: "MSVC Win32"
|
name: "MSVC Win32"
|
||||||
runner: "windows-2022"
|
runner: "windows-2022"
|
||||||
- generator: "Visual Studio 17 2022"
|
# - generator: "Visual Studio 17 2022"
|
||||||
flags: "-A ARM64"
|
# flags: "-A ARM64"
|
||||||
name: "MSVC ARM64"
|
# name: "MSVC ARM64"
|
||||||
runner: "windows-2022-arm64"
|
# runner: "windows-2022-arm64" # Disabled due to very long queue times
|
||||||
- generator: "MinGW Makefiles"
|
- generator: "MinGW Makefiles"
|
||||||
flags: ""
|
flags: ""
|
||||||
name: "MinGW"
|
name: "MinGW"
|
||||||
@@ -116,3 +116,21 @@ jobs:
|
|||||||
cmake.exe -G "${{matrix.generator}}" ${{matrix.flags}} -DCMAKE_BUILD_TYPE=Debug ${{ env.COMMON_CMAKE_FLAGS }} -DZSTD_ZSTREAM_FLAGS=-T${{ env.QUICK_TEST_TIME }} -DZSTD_FUZZER_FLAGS=-T${{ env.QUICK_TEST_TIME }} -DZSTD_FULLBENCH_FLAGS=-i0 ..
|
cmake.exe -G "${{matrix.generator}}" ${{matrix.flags}} -DCMAKE_BUILD_TYPE=Debug ${{ env.COMMON_CMAKE_FLAGS }} -DZSTD_ZSTREAM_FLAGS=-T${{ env.QUICK_TEST_TIME }} -DZSTD_FUZZER_FLAGS=-T${{ env.QUICK_TEST_TIME }} -DZSTD_FULLBENCH_FLAGS=-i0 ..
|
||||||
cmake.exe --build .
|
cmake.exe --build .
|
||||||
ctest.exe -V -C Debug
|
ctest.exe -V -C Debug
|
||||||
|
|
||||||
|
# macOS ARM64 (Apple Silicon) specific cmake testing
|
||||||
|
# Validates zstd builds and runs correctly on Apple Silicon architecture
|
||||||
|
# Uses native ARM64 hardware for optimal performance and compatibility testing
|
||||||
|
cmake-macos-arm64:
|
||||||
|
name: "CMake macOS ARM64 (Apple Silicon)"
|
||||||
|
runs-on: macos-14 # ARM64 runner
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
|
||||||
|
- name: "CMake build and test (ARM64)"
|
||||||
|
run: |
|
||||||
|
# Configure and build with ARM64-specific optimizations
|
||||||
|
cd build/cmake
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release ${{ env.COMMON_CMAKE_FLAGS }} -DZSTD_ZSTREAM_FLAGS=-T${{ env.QUICK_TEST_TIME }} -DZSTD_FUZZER_FLAGS=-T${{ env.QUICK_TEST_TIME }} -DZSTD_FULLBENCH_FLAGS=-i1 ..
|
||||||
|
make -j$(sysctl -n hw.ncpu)
|
||||||
|
ctest -V
|
||||||
|
|||||||
Reference in New Issue
Block a user