use cmake to build roms, too; it just calls existing makefile
This commit is contained in:
parent
348f85e391
commit
18f1eb56bd
|
@ -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:
|
||||
|
|
|
@ -8,3 +8,4 @@ include(GNUInstallDirs)
|
|||
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(conf)
|
||||
add_subdirectory(rom)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
add_custom_target(roms COMMAND make WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
Loading…
Reference in New Issue