init git submodules
This commit is contained in:
parent
54c492cac6
commit
6cd99da6df
|
@ -4,5 +4,6 @@ freebsd_instance:
|
||||||
task:
|
task:
|
||||||
install_script: pkg install -y alsa-lib cmake evdev-proto flac git libao libevdev libudev-devd libzip mesa-libs miniupnpc ninja pkgconf png pulseaudio sdl2
|
install_script: pkg install -y alsa-lib cmake evdev-proto flac git libao libevdev libudev-devd libzip mesa-libs miniupnpc ninja pkgconf png pulseaudio sdl2
|
||||||
script:
|
script:
|
||||||
|
- git submodule update --init --recursive
|
||||||
- cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja
|
- cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja
|
||||||
- cmake --build build --config Release
|
- cmake --build build --config Release
|
||||||
|
|
|
@ -13,6 +13,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -517,9 +517,10 @@ endif
|
||||||
|
|
||||||
libchdr/libchdr-static.a:
|
libchdr/libchdr-static.a:
|
||||||
mkdir -p libchdr && \
|
mkdir -p libchdr && \
|
||||||
cd libchdr && \
|
cd libchdr && \
|
||||||
cmake $(CMAKE_FLAVOR) -DBUILD_SHARED_LIBS=OFF $(RZDCY_SRC_DIR)/deps/libchdr && \
|
cmake $(CMAKE_FLAVOR) -DBUILD_SHARED_LIBS=OFF $(RZDCY_SRC_DIR)/deps/libchdr && \
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
|
|
||||||
OBJECTS += libchdr/libchdr-static.a
|
OBJECTS += libchdr/libchdr-static.a
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,9 @@ build:
|
||||||
- script:
|
- script:
|
||||||
name: gcc-version
|
name: gcc-version
|
||||||
code: gcc --version
|
code: gcc --version
|
||||||
|
- script:
|
||||||
|
name: git submodule
|
||||||
|
code: git submodule update --init --recursive
|
||||||
- script:
|
- script:
|
||||||
name: flycast tests
|
name: flycast tests
|
||||||
code: make -C shell/linux UNIT_TESTS=1 tests
|
code: make -C shell/linux UNIT_TESTS=1 tests
|
||||||
|
|
Loading…
Reference in New Issue