Make runtime optional, start a CI yml.

This commit is contained in:
Joshua T. Fisher
2026-01-27 17:30:26 -08:00
parent b1f86a7597
commit bf91aa5021
2 changed files with 39 additions and 1 deletions
+32
View File
@@ -0,0 +1,32 @@
name: build
on: [push, pull_request]
jobs:
windows-msvc:
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
arch: x64
target_arch: x86_64
name: windows-msvc-${{ matrix.target_arch }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: lukka/get-cmake@latest
- uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: ${{ matrix.arch }}
- name: Build
shell: cmd
run: |
cmake -B build
cmake --build build --config Release
+7 -1
View File
@@ -4,7 +4,13 @@ project("PS2 Retro X")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
option(PS2X_RUNTIME OFF)
add_subdirectory("ps2xRecomp")
add_subdirectory("ps2xRuntime")
if (PS2X_RUNTIME)
add_subdirectory("ps2xRuntime")
endif()
add_subdirectory("ps2xAnalyzer")
add_subdirectory("ps2xTest")