1
0
mirror of synced 2024-11-23 22:51:02 +01:00

Ensure parallel builds

This commit is contained in:
BroGamer 2022-10-16 15:15:46 +13:00
parent 3175f5d967
commit 5e0f3fbeb4
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ jobs:
- name: Setup rust
run: rustup target add x86_64-pc-windows-gnu
- name: Make
run: make dist-no-7z
run: make dist-no-7z -j
- uses: actions/upload-artifact@v2
with:
name: dist

View File

@ -30,8 +30,8 @@ ${TARGET}/%.o: %.c
.PHONY: SDL
SDL:
@mkdir -p SDL/${SDL_TARGET}
@cd SDL/${SDL_TARGET} && ../configure --build=x86_64-linux-gnu --host=${SDL_TARGET} --disable-sdl2-config --disable-shared --enable-assertions=release --enable-directx --enable-haptic
@make -s -C SDL/${SDL_TARGET}
@cd SDL/${SDL_TARGET} && ../configure -C --build=x86_64-linux-gnu --host=${SDL_TARGET} --disable-sdl2-config --disable-shared --enable-assertions=release --enable-directx --enable-haptic
@make -s -C SDL/${SDL_TARGET} -j
.PHONY: ${OUT}
${OUT}: dirs ${DEPS} ${OBJ}
@ -50,8 +50,8 @@ clean:
.PHONY: plugins
plugins:
make -C plugins/8.18
make -C plugins/amauth
make -C plugins/8.18 -j
make -C plugins/amauth -j
cd plugins/8.18-song-limit && cargo build --release --target x86_64-pc-windows-gnu
cp plugins/8.18-song-limit/target/x86_64-pc-windows-gnu/release/song_limit_8_18.dll ${TARGET}
strip ${TARGET}/*.dll