File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -428,3 +428,33 @@ jobs:
428428 - name : Test CharacterVirtual
429429 working-directory : ${{github.workspace}}/Build/WASM_Distribution
430430 run : node --experimental-wasm-memory64 PerformanceTest.js -q=Discrete -t=max -s=CharacterVirtual -validate_hash=${CHARACTER_VIRTUAL_HASH}
431+
432+ cross_clang :
433+ strategy :
434+ matrix :
435+ target :
436+ - arch : LoongArch64
437+ qemu : qemu-loongarch64
438+ target : loongarch64-linux-gnu
439+
440+ runs-on : ubuntu-latest
441+ name : Clang ${{ matrix.target.arch }} Determinism Check
442+ steps :
443+ - name : Checkout Code
444+ uses : actions/checkout@v4
445+ - name : Update index
446+ run : sudo apt-get update
447+ - name : Configure CMake
448+ working-directory : ${{github.workspace}}/Build
449+ run : ./cmake_linux_clang_gcc.sh Distribution ${{env.UBUNTU_CLANG_VERSION}} -DCROSS_COMPILE_ARM=ON -DCROSS_PLATFORM_DETERMINISTIC=ON -DCROSS_COMPILE_ARM_TARGET="${{ matrix.target.target }}" -DTARGET_VIEWER=OFF -DTARGET_SAMPLES=OFF -DTARGET_HELLO_WORLD=OFF -DTARGET_UNIT_TESTS=ON -DTARGET_PERFORMANCE_TEST=ON -DCMAKE_LINKER_TYPE=LLD
450+ - name : Build
451+ run : cmake --build ${{github.workspace}}/Build/Linux_Distribution -j $(nproc)
452+ - name : Unit Tests
453+ working-directory : ${{github.workspace}}/Build/Linux_Distribution
454+ run : ${{ matrix.target.qemu }} -L /usr/${{ matrix.target.target }}/ ./UnitTests
455+ - name : Test ConvexVsMesh
456+ working-directory : ${{github.workspace}}/Build/Linux_Distribution
457+ run : ${{ matrix.target.qemu }} -L /usr/${{ matrix.target.target }}/ ./PerformanceTest -q=LinearCast -t=max -s=ConvexVsMesh -validate_hash=${CONVEX_VS_MESH_HASH}
458+ - name : Test Ragdoll
459+ working-directory : ${{github.workspace}}/Build/Linux_Distribution
460+ run : qemu-loongarch64 -L /usr/loongarch64-linux-gnu/ ./PerformanceTest -q=LinearCast -t=max -s=Ragdoll -validate_hash=${RAGDOLL_HASH}
You can’t perform that action at this time.
0 commit comments