github: Run unit tests for aarch64

This commit is contained in:
Merry 2022-08-16 12:16:01 +01:00 committed by merry
parent 1d60047078
commit 85fa32ce98

View file

@ -75,6 +75,10 @@ jobs:
working-directory: ${{github.workspace}}/build-x64 working-directory: ${{github.workspace}}/build-x64
run: cmake --build . --config Release run: cmake --build . --config Release
- name: Test - name: Basic tests
working-directory: ${{github.workspace}}
run: qemu-aarch64 -L /usr/aarch64-linux-gnu ./build-arm64/tests/dynarmic_tests -d yes
- name: Test against x86_64 implementation
working-directory: ${{github.workspace}} working-directory: ${{github.workspace}}
run: diff <(qemu-aarch64 -L /usr/aarch64-linux-gnu ./build-arm64/tests/dynarmic_test_generator) <(./build-x64/tests/dynarmic_test_generator) run: diff <(qemu-aarch64 -L /usr/aarch64-linux-gnu ./build-arm64/tests/dynarmic_test_generator) <(./build-x64/tests/dynarmic_test_generator)