diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2694b1b..5f9ca44 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,11 +21,13 @@ jobs: - uses: "actions/checkout@v3" - - name: "Build artifacts" + - name: "Build" run: | set -x - cd rom - make + mkdir build + cd build + cmake .. + cmake --build . --target roms - uses: "actions/upload-artifact@v3" with: diff --git a/CMakeLists.txt b/CMakeLists.txt index a467817..1bb3aaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,3 +8,4 @@ include(GNUInstallDirs) add_subdirectory(src) add_subdirectory(conf) +add_subdirectory(rom) diff --git a/rom/CMakeLists.txt b/rom/CMakeLists.txt new file mode 100644 index 0000000..f6d3ec2 --- /dev/null +++ b/rom/CMakeLists.txt @@ -0,0 +1 @@ +add_custom_target(roms COMMAND make WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})