include HW implementations from Intel & Arm for both CRC32C & CRC64-E… #1505
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux ARM | |
on: | |
push: | |
branches: [ "main", "release/*" ] | |
pull_request: | |
branches: [ "main", "release/*" ] | |
jobs: | |
gcc921: | |
runs-on: [self-hosted, Linux, ARM64] | |
container: | |
image: ghcr.io/alibaba/photon-ut-base:latest | |
options: --cpus 4 | |
steps: | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Asia/Shanghai" | |
timezoneMacos: "Asia/Shanghai" | |
timezoneWindows: "China Standard Time" | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
source /opt/rh/gcc-toolset-9/enable | |
cmake -B build -D CMAKE_BUILD_TYPE=MinSizeRel \ | |
-D PHOTON_ENABLE_ECOSYSTEM=ON \ | |
-D PHOTON_BUILD_TESTING=ON \ | |
-D PHOTON_ENABLE_SASL=ON \ | |
-D PHOTON_ENABLE_FUSE=ON \ | |
-D PHOTON_ENABLE_URING=ON \ | |
-D PHOTON_ENABLE_LIBCURL=ON \ | |
-D PHOTON_ENABLE_EXTFS=ON | |
cmake --build build -j $(nproc) | |
- name: Test | |
run: | | |
cd build | |
nohup redis-server & | |
ctest --timeout 3600 -V | |
pkill redis-server | |
debug-build-from-source: | |
runs-on: ubuntu-latest | |
container: | |
image: almalinux:8 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
dnf install -y 'dnf-command(config-manager)' | |
dnf config-manager --set-enabled powertools | |
dnf -q -y install git gcc-c++ cmake gcc-toolset-9-gcc-c++ nasm | |
source /opt/rh/gcc-toolset-9/enable | |
cmake -B build -D CMAKE_BUILD_TYPE=Debug \ | |
-D PHOTON_BUILD_DEPENDENCIES=ON \ | |
-D PHOTON_BUILD_TESTING=ON \ | |
-D PHOTON_ENABLE_ECOSYSTEM=ON \ | |
-D PHOTON_ENABLE_SASL=OFF \ | |
-D PHOTON_ENABLE_FUSE=OFF \ | |
-D PHOTON_ENABLE_URING=ON \ | |
-D PHOTON_ENABLE_LIBCURL=OFF \ | |
-D PHOTON_ENABLE_EXTFS=OFF | |
cmake --build build -j $(nproc) |