Repository navigation
AutoTest #1021
This file contains hidden or 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: AutoTest | |
| on: | |
| workflow_dispatch: # manually trigger | |
| workflow_call: | |
| jobs: | |
| #Windows X86_64 | |
| win64_test_MSVC_cpp14: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_msvc.bat 14 | |
| win64_test_MSVC_Clang_cpp14: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_clang.bat 14 | |
| win64_test_MinGW_GCC_cpp14: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install MSYS2 | |
| uses: msys2/setup-msys2@v2 | |
| id: msys2 | |
| with: | |
| msystem: MINGW64 | |
| release: true | |
| path-type: inherit | |
| install: mingw-w64-x86_64-gcc mingw-w64-x86_64-binutils mingw-w64-x86_64-make | |
| update: true | |
| - name: Ensure MSYS2 packages | |
| shell: msys2 {0} | |
| run: | | |
| pacman -S --noconfirm --needed --overwrite '*' mingw-w64-x86_64-gcc mingw-w64-x86_64-binutils mingw-w64-x86_64-make | |
| echo "MSYS2 Root: $MSYSTEM_CARCH" | |
| which gcc | |
| which mingw32-make | |
| - name: Remove conflicting MinGW paths | |
| run: | | |
| $env:Path = $env:Path -replace 'C:\\mingw64\\bin;','' -replace 'C:\\Program Files\\Git\\mingw64\\bin;','' | |
| echo "PATH=$env:Path" >> $env:GITHUB_ENV | |
| shell: powershell | |
| - name: Add MSYS2 to PATH | |
| run: | | |
| $env:Path = "${{ steps.msys2.outputs.msys2-location }}\mingw64\bin;" + $env:Path | |
| echo "PATH=$env:Path" >> $env:GITHUB_ENV | |
| shell: powershell | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_MinGW_GCC.bat 14 | |
| win64_test_MinGW_Clang_cpp14: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_MinGW_Clang.bat 14 | |
| win64_test_MSVC_cpp17: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_msvc.bat 17 | |
| win64_test_MSVC_Clang_cpp17: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_clang.bat 17 | |
| win64_test_MinGW_GCC_cpp17: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install MSYS2 | |
| uses: msys2/setup-msys2@v2 | |
| id: msys2 | |
| with: | |
| msystem: MINGW64 | |
| release: true | |
| path-type: inherit | |
| install: mingw-w64-x86_64-gcc mingw-w64-x86_64-binutils mingw-w64-x86_64-make | |
| update: true | |
| - name: Ensure MSYS2 packages | |
| shell: msys2 {0} | |
| run: | | |
| pacman -S --noconfirm --needed --overwrite '*' mingw-w64-x86_64-gcc mingw-w64-x86_64-binutils mingw-w64-x86_64-make | |
| echo "MSYS2 Root: $MSYSTEM_CARCH" | |
| which gcc | |
| which mingw32-make | |
| - name: Remove conflicting MinGW paths | |
| run: | | |
| $env:Path = $env:Path -replace 'C:\\mingw64\\bin;','' -replace 'C:\\Program Files\\Git\\mingw64\\bin;','' | |
| echo "PATH=$env:Path" >> $env:GITHUB_ENV | |
| shell: powershell | |
| - name: Add MSYS2 to PATH | |
| run: | | |
| $env:Path = "${{ steps.msys2.outputs.msys2-location }}\mingw64\bin;" + $env:Path | |
| echo "PATH=$env:Path" >> $env:GITHUB_ENV | |
| shell: powershell | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_MinGW_GCC.bat 17 | |
| win64_test_MinGW_Clang_cpp17: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_MinGW_Clang.bat 17 | |
| win64_test_MSVC_cpp20: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_msvc.bat 20 | |
| win64_test_MSVC_Clang_cpp20: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_clang.bat 20 | |
| win64_test_MinGW_GCC_cpp20: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install MSYS2 | |
| uses: msys2/setup-msys2@v2 | |
| id: msys2 | |
| with: | |
| msystem: MINGW64 | |
| release: true | |
| path-type: inherit | |
| install: mingw-w64-x86_64-gcc mingw-w64-x86_64-binutils mingw-w64-x86_64-make | |
| update: true | |
| - name: Ensure MSYS2 packages | |
| shell: msys2 {0} | |
| run: | | |
| pacman -S --noconfirm --needed --overwrite '*' mingw-w64-x86_64-gcc mingw-w64-x86_64-binutils mingw-w64-x86_64-make | |
| echo "MSYS2 Root: $MSYSTEM_CARCH" | |
| which gcc | |
| which mingw32-make | |
| - name: Remove conflicting MinGW paths | |
| run: | | |
| $env:Path = $env:Path -replace 'C:\\mingw64\\bin;','' -replace 'C:\\Program Files\\Git\\mingw64\\bin;','' | |
| echo "PATH=$env:Path" >> $env:GITHUB_ENV | |
| shell: powershell | |
| - name: Add MSYS2 to PATH | |
| run: | | |
| $env:Path = "${{ steps.msys2.outputs.msys2-location }}\mingw64\bin;" + $env:Path | |
| echo "PATH=$env:Path" >> $env:GITHUB_ENV | |
| shell: powershell | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_MinGW_GCC.bat 20 | |
| win64_test_MinGW_Clang_cpp20: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_MinGW_Clang.bat 20 | |
| win64_test_MSVC_cpp23: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_msvc.bat 23 | |
| win64_test_MSVC_Clang_cpp23: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_clang.bat 23 | |
| win64_test_MinGW_GCC_cpp23: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install MSYS2 | |
| uses: msys2/setup-msys2@v2 | |
| id: msys2 | |
| with: | |
| msystem: MINGW64 | |
| release: true | |
| path-type: inherit | |
| install: mingw-w64-x86_64-gcc mingw-w64-x86_64-binutils mingw-w64-x86_64-make | |
| update: true | |
| - name: Ensure MSYS2 packages | |
| shell: msys2 {0} | |
| run: | | |
| pacman -S --noconfirm --needed --overwrite '*' mingw-w64-x86_64-gcc mingw-w64-x86_64-binutils mingw-w64-x86_64-make | |
| echo "MSYS2 Root: $MSYSTEM_CARCH" | |
| which gcc | |
| which mingw32-make | |
| - name: Remove conflicting MinGW paths | |
| run: | | |
| $env:Path = $env:Path -replace 'C:\\mingw64\\bin;','' -replace 'C:\\Program Files\\Git\\mingw64\\bin;','' | |
| echo "PATH=$env:Path" >> $env:GITHUB_ENV | |
| shell: powershell | |
| - name: Add MSYS2 to PATH | |
| run: | | |
| $env:Path = "${{ steps.msys2.outputs.msys2-location }}\mingw64\bin;" + $env:Path | |
| echo "PATH=$env:Path" >> $env:GITHUB_ENV | |
| shell: powershell | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_MinGW_GCC.bat 23 | |
| win64_test_MinGW_Clang_cpp23: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| .\run_test_MinGW_Clang.bat 23 | |
| #Windows ARM64 | |
| win_arm64_test_MinGW_Clang_cpp14: | |
| runs-on: windows-11-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Clang | |
| run: | | |
| choco uninstall -y llvm --all-versions | |
| choco install -y llvm | |
| shell: powershell | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| mkdir build_folder | |
| cd build_folder | |
| cmake ..\..\..\..\test -G "MinGW Makefiles" -DTARGET_PLATFORM:STRING=win64 -DCPP_VER=14 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ | |
| make | |
| objdump -f BqLogUnitTest.exe | |
| .\BqLogUnitTest.exe | |
| cmake ..\..\..\..\test -G "MinGW Makefiles" -DTARGET_PLATFORM:STRING=win64 -DCPP_VER=14 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ | |
| make -j4 | |
| .\BqLogUnitTest.exe | |
| win_arm64_test_MinGW_Clang_cpp17: | |
| runs-on: windows-11-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Clang | |
| run: | | |
| choco uninstall -y llvm --all-versions | |
| choco install -y llvm | |
| shell: powershell | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| mkdir build_folder | |
| cd build_folder | |
| cmake ..\..\..\..\test -G "MinGW Makefiles" -DTARGET_PLATFORM:STRING=win64 -DCPP_VER=17 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ | |
| make | |
| objdump -f BqLogUnitTest.exe | |
| .\BqLogUnitTest.exe | |
| cmake ..\..\..\..\test -G "MinGW Makefiles" -DTARGET_PLATFORM:STRING=win64 -DCPP_VER=17 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ | |
| make -j4 | |
| .\BqLogUnitTest.exe | |
| win_arm64_test_MinGW_Clang_cpp20: | |
| runs-on: windows-11-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Clang | |
| run: | | |
| choco uninstall -y llvm --all-versions | |
| choco install -y llvm | |
| shell: powershell | |
| - name: Build for Windows | |
| run: | | |
| cd build\test\win64 | |
| mkdir build_folder | |
| cd build_folder | |
| cmake ..\..\..\..\test -G "MinGW Makefiles" -DTARGET_PLATFORM:STRING=win64 -DCPP_VER=20 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ | |
| make | |
| objdump -f BqLogUnitTest.exe | |
| .\BqLogUnitTest.exe | |
| cmake ..\..\..\..\test -G "MinGW Makefiles" -DTARGET_PLATFORM:STRING=win64 -DCPP_VER=20 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ | |
| make -j4 | |
| .\BqLogUnitTest.exe | |
| #Linux-ubuntu-X86_64 | |
| ubuntu_test_GCC_cpp11: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 11 | |
| ubuntu_test_Clang_cpp11: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 11 | |
| ubuntu_test_GCC_cpp14: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 14 | |
| ubuntu_test_Clang_cpp14: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 14 | |
| ubuntu_test_GCC_cpp17: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 17 | |
| ubuntu_test_Clang_cpp17: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 17 | |
| ubuntu_test_GCC_cpp20: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 20 | |
| ubuntu_test_Clang_cpp20: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 20 | |
| ubuntu_test_GCC_cpp23: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 23 | |
| ubuntu_test_Clang_cpp23: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 23 | |
| #Linux-ubuntu-ARM64 | |
| ubuntu_arm64_test_GCC_cpp11: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 11 | |
| ubuntu_arm64_test_Clang_cpp11: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 11 | |
| ubuntu_arm64_test_GCC_cpp14: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 14 | |
| ubuntu_arm64_test_Clang_cpp14: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 14 | |
| ubuntu_arm64_test_GCC_cpp17: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 17 | |
| ubuntu_arm64_test_Clang_cpp17: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 17 | |
| ubuntu_arm64_test_GCC_cpp20: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 20 | |
| ubuntu_arm64_test_Clang_cpp20: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 20 | |
| ubuntu_arm64_test_GCC_cpp23: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 23 | |
| ubuntu_arm64_test_Clang_cpp23: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Install GDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Build for Linux | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh 23 | |
| #linux-debian | |
| debian_test_GCC_cpp17: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/pippocao/bqlog/debian:latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install necessary tools (gcc and clang) | |
| run: | | |
| apt-get update | |
| apt-get install -y gcc clang g++ make cmake gdb | |
| apt-get install -y software-properties-common | |
| apt-get update | |
| apt-get install -y openjdk-17-jdk | |
| apt-get install -y openssh-client | |
| - name: Set up Java | |
| run: | | |
| export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 | |
| echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64" >> $GITHUB_ENV | |
| - name: Build for Debian | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh | |
| debian_test_Clang_cpp17: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/pippocao/bqlog/debian:latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install necessary tools (gcc and clang) | |
| run: | | |
| apt-get update | |
| apt-get install -y gcc clang g++ make cmake gdb | |
| apt-get install -y software-properties-common | |
| apt-get update | |
| apt-get install -y openjdk-17-jdk | |
| apt-get install -y openssh-client | |
| - name: Set up Java | |
| run: | | |
| export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 | |
| echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64" >> $GITHUB_ENV | |
| - name: Build for Debian | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh | |
| debian32_test_GCC_cpp17: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/pippocao/bqlog/i386_debian:latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install necessary tools (gcc and clang) | |
| run: | | |
| apt-get update | |
| apt-get install -y gcc clang g++ make cmake gdb | |
| apt-get install -y software-properties-common | |
| apt-get update | |
| apt-get install -y openjdk-17-jdk | |
| apt-get install -y openssh-client | |
| - name: Set up Java | |
| run: | | |
| export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-i386 | |
| echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-i386" >> $GITHUB_ENV | |
| - name: Build for Debian 32 | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh | |
| debian32_test_Clang_cpp17: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/pippocao/bqlog/i386_debian:latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install necessary tools (gcc and clang) | |
| run: | | |
| apt-get update | |
| apt-get install -y gcc clang g++ make cmake gdb | |
| apt-get install -y software-properties-common | |
| apt-get update | |
| apt-get install -y openjdk-17-jdk | |
| apt-get install -y openssh-client | |
| - name: Set up Java | |
| run: | | |
| export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-i386 | |
| echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-i386" >> $GITHUB_ENV | |
| - name: Build for Debian 32 | |
| run: | | |
| cd build/test/linux | |
| chmod +x *.sh | |
| ./run_test_clang.sh | |
| #Mac | |
| mac_apple_silicon_test_cpp11: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for macOS | |
| run: | | |
| cd build/test/mac | |
| chmod +x *.sh | |
| ./run_test.sh 11 | |
| mac_apple_silicon_test_cpp14: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for macOS | |
| run: | | |
| cd build/test/mac | |
| chmod +x *.sh | |
| ./run_test.sh 14 | |
| mac_apple_silicon_test_cpp17: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for macOS | |
| run: | | |
| cd build/test/mac | |
| chmod +x *.sh | |
| ./run_test.sh 17 | |
| mac_apple_silicon_test_cpp20: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for macOS | |
| run: | | |
| cd build/test/mac | |
| chmod +x *.sh | |
| ./run_test.sh 20 | |
| mac_apple_silicon_test_cpp23: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Build for macOS | |
| run: | | |
| cd build/test/mac | |
| chmod +x *.sh | |
| ./run_test.sh 23 | |
| #Unix-FreeBSD | |
| freeBSD_test_Clang_cpp17: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run in FreeBSD | |
| id: RunInFreeBSD | |
| uses: vmactions/freebsd-vm@v1 | |
| with: | |
| usesh: true | |
| mem: 8192 | |
| prepare: | | |
| pkg install -y llvm cmake bash openjdk11 gdb gcc | |
| run: | | |
| set -e -x | |
| pkg info -l openjdk11 | grep 'bin/java' | |
| export JAVA_HOME="/usr/local/openjdk11" | |
| export PATH="$JAVA_HOME/bin:$PATH" | |
| echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV | |
| echo "PATH=$PATH" >> $GITHUB_ENV | |
| cd build/test/unix_like | |
| chmod +x *.sh | |
| ls -l | |
| ./run_test_clang.sh | |
| freeBSD_test_GCC_cpp17: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run in FreeBSD | |
| id: RunInFreeBSD | |
| uses: vmactions/freebsd-vm@v1 | |
| with: | |
| usesh: true | |
| mem: 8192 | |
| prepare: | | |
| pkg install -y llvm cmake bash openjdk11 gdb gcc | |
| run: | | |
| set -e -x | |
| pkg info -l openjdk11 | grep 'bin/java' | |
| export JAVA_HOME="/usr/local/openjdk11" | |
| export PATH="$JAVA_HOME/bin:$PATH" | |
| echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV | |
| echo "PATH=$PATH" >> $GITHUB_ENV | |
| cd build/test/unix_like | |
| chmod +x *.sh | |
| ls -l | |
| ./run_test_clang.sh |