mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-26 08:51:05 -04:00
Make runtime optional, start a CI yml.
This commit is contained in:
@@ -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
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user