diff options
author | Wunkolo <[email protected]> | 2022-12-29 12:58:11 -0800 |
---|---|---|
committer | merry <[email protected]> | 2022-12-31 14:58:36 +0000 |
commit | 621a390cc430eb6a5da3c3abc06312e9d57a815f (patch) | |
tree | 6ef75daca1ee8629017722ead92f61f944c1c181 /.github | |
parent | c3312a1497e4969033c9f24030d05626a7637b67 (diff) | |
download | dynarmic-621a390cc430eb6a5da3c3abc06312e9d57a815f.tar.gz dynarmic-621a390cc430eb6a5da3c3abc06312e9d57a815f.zip |
CI: Add MSVC-ARM64 builds
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/aarch64.yml | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/.github/workflows/aarch64.yml b/.github/workflows/aarch64.yml index caae5415..7bbffc77 100644 --- a/.github/workflows/aarch64.yml +++ b/.github/workflows/aarch64.yml @@ -6,7 +6,7 @@ env: BUILD_TYPE: Release jobs: - build: + build_linux: strategy: matrix: platform: [ linux, android ] @@ -119,3 +119,40 @@ jobs: diff <(qemu-aarch64 -L /usr/aarch64-linux-gnu ./build-arm64/tests/dynarmic_test_generator a64 42 1 100000) <(./build-x64/tests/dynarmic_test_generator a64 42 1 100000) diff <(qemu-aarch64 -L /usr/aarch64-linux-gnu ./build-arm64/tests/dynarmic_test_generator a64 42 10 10000) <(./build-x64/tests/dynarmic_test_generator a64 42 10 10000) diff <(qemu-aarch64 -L /usr/aarch64-linux-gnu ./build-arm64/tests/dynarmic_test_generator a64 42 100 1000) <(./build-x64/tests/dynarmic_test_generator a64 42 100 1000) + + build_windows: + strategy: + fail-fast: false + + runs-on: windows-latest + + steps: + + - 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: Setup msvc-arm64 environment + uses: ilammy/msvc-dev-cmd@v1 + with: + arch: amd64_arm64 + + - name: Configure CMake for AArch64 (Windows) + run: > + cmake + -B ${{github.workspace}}/build-arm64 + -DBOOST_INCLUDEDIR=${{github.workspace}}/externals/ext-boost + -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + -DDYNARMIC_WARNINGS_AS_ERRORS=0 + -DDYNARMIC_TESTS_USE_UNICORN=0 + -DDYNARMIC_USE_LLVM=0 + -G Ninja + + - name: Build AArch64 + working-directory: ${{github.workspace}}/build-arm64 + run: cmake --build . --config Release
\ No newline at end of file |