Add aarch64 CI
This commit is contained in:
parent
e886bfb7c1
commit
e7b2eb2c7c
1 changed files with 56 additions and 0 deletions
56
.github/workflows/aarch64.yml
vendored
Normal file
56
.github/workflows/aarch64.yml
vendored
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
name: AArch64
|
||||||
|
|
||||||
|
on: [ push, pull_request ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUILD_TYPE: Release
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ ubuntu-latest ]
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
|
runs-on: ${{matrix.os}}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Install build dependencies
|
||||||
|
if: ${{matrix.os == 'ubuntu-latest'}}
|
||||||
|
run: >
|
||||||
|
sudo apt-get install
|
||||||
|
gcc-10-aarch64-linux-gnu
|
||||||
|
g++-10-aarch64-linux-gnu
|
||||||
|
ninja-build
|
||||||
|
qemu-user
|
||||||
|
|
||||||
|
- name: Checkout dynarmic repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Checkout ext-boost repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: MerryMage/ext-boost
|
||||||
|
path: externals/ext-boost
|
||||||
|
|
||||||
|
- name: Configure CMake
|
||||||
|
env:
|
||||||
|
CC: aarch64-linux-gnu-gcc-10
|
||||||
|
CXX: aarch64-linux-gnu-g++-10
|
||||||
|
run: >
|
||||||
|
cmake
|
||||||
|
-B ${{github.workspace}}/build
|
||||||
|
-DBoost_INCLUDE_DIRS=${{github.workspace}}/externals/ext-boost
|
||||||
|
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
-DDYNARMIC_TESTS_USE_UNICORN=0
|
||||||
|
-DDYNARMIC_USE_LLVM=0
|
||||||
|
-G Ninja
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{github.workspace}}/build
|
||||||
|
run: cmake --build . --config Release
|
||||||
|
|
||||||
|
#- name: Test
|
||||||
|
# working-directory: ${{github.workspace}}/build
|
||||||
|
# run: qemu-aarch64 -L /usr/aarch64-linux-gnu ./tests/dynarmic_tests -d yes
|
Loading…
Reference in a new issue