Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- name: Install dependencies
run: brew install ninja
- name: Configure
run: cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_QT=OFF -DENABLE_NOGUI=ON -DUSE_MGBA=OFF
run: cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_QT=OFF -DENABLE_NOGUI=ON -DUSE_MGBA=OFF -DUSE_RETRO_ACHIEVEMENTS=OFF
- name: Build
run: ninja -C build dolphin-emu-nogui
run: ninja -C build core

nogui-linux:
runs-on: ubuntu-24.04
Expand All @@ -43,9 +43,9 @@ jobs:
libbluetooth-dev libasound2-dev libpulse-dev libgl1-mesa-dev \
libxrandr-dev libxi-dev
- name: Configure
run: cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_QT=OFF -DENABLE_NOGUI=ON -DUSE_MGBA=OFF
run: cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_QT=OFF -DENABLE_NOGUI=ON -DUSE_MGBA=OFF -DUSE_RETRO_ACHIEVEMENTS=OFF
- name: Build
run: ninja -C build dolphin-emu-nogui
run: ninja -C build core
# The unit tests exist but nothing ran them. `tests` is EXCLUDE_FROM_ALL,
# so it has to be asked for by name.
- name: Build unit tests
Expand All @@ -67,9 +67,9 @@ jobs:
run: choco install ninja --no-progress -y
- uses: ilammy/msvc-dev-cmd@v1
- name: Configure
run: cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_QT=OFF -DENABLE_NOGUI=ON -DUSE_MGBA=OFF
run: cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_QT=OFF -DENABLE_NOGUI=ON -DUSE_MGBA=OFF -DUSE_RETRO_ACHIEVEMENTS=OFF
- name: Build
run: ninja -C build dolphin-emu-nogui
run: ninja -C build core
- name: Build unit tests
run: ninja -C build tests
- name: Test
Expand Down
1 change: 1 addition & 0 deletions Source/UnitTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND} "-
string(APPEND CMAKE_RUNTIME_OUTPUT_DIRECTORY "/Tests")

add_executable(tests EXCLUDE_FROM_ALL UnitTestsMain.cpp StubHost.cpp)
target_sources(tests PRIVATE ../../GXRuntime/src/core/cpu_exception.c)
set_target_properties(tests PROPERTIES FOLDER Tests)
target_link_libraries(tests PRIVATE fmt::fmt gtest::gtest core uicommon)
add_test(NAME tests COMMAND tests)
Expand Down
Loading