mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-12 15:56:28 +00:00
Squashed 'externals/oaknut/' changes from 9d091109d..6b1d57ea7
6b1d57ea7 oaknut: 2.0.2 143a3dcbe oaknut: github: Build on x86-64 496ff1b54 oaknut: tests: Only run arm64-specific tests on arm64 8395b79cf cmake: make tests optional git-subtree-dir: externals/oaknut git-subtree-split: 6b1d57ea7ed4882d32a91eeaa6557b0ecb4da152
This commit is contained in:
39
.github/workflows/build-and-test.yml
vendored
39
.github/workflows/build-and-test.yml
vendored
@@ -3,7 +3,7 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
test_on_ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
name: g++-10
|
||||
name: g++-10 (aarch64)
|
||||
|
||||
steps:
|
||||
- name: Checkout oaknut repo
|
||||
@@ -207,3 +207,40 @@ jobs:
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake --build . --config Release
|
||||
|
||||
x86_64:
|
||||
runs-on: ubuntu-latest
|
||||
name: x86_64
|
||||
|
||||
steps:
|
||||
- name: Checkout oaknut repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Update package repositories
|
||||
run: sudo apt-get update
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -q -y ninja-build
|
||||
|
||||
- name: Checkout Catch2 v3 repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: catchorg/Catch2
|
||||
ref: v3.2.0
|
||||
path: externals/catch
|
||||
|
||||
- name: Configure CMake
|
||||
run: >
|
||||
cmake
|
||||
-B ${{github.workspace}}/build
|
||||
-H.
|
||||
-GNinja
|
||||
-DOAKNUT_USE_BUNDLED_CATCH=ON
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: ninja
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: ./oaknut-tests -d yes
|
||||
|
||||
Reference in New Issue
Block a user