1
0
mirror of synced 2024-11-27 17:00:53 +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 - name: Setup rust
run: rustup target add x86_64-pc-windows-gnu run: rustup target add x86_64-pc-windows-gnu
- name: Make - name: Make
run: make dist-no-7z run: make dist-no-7z -j
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: dist name: dist

View File

@ -30,8 +30,8 @@ ${TARGET}/%.o: %.c
.PHONY: SDL .PHONY: SDL
SDL: SDL:
@mkdir -p SDL/${SDL_TARGET} @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 @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} @make -s -C SDL/${SDL_TARGET} -j
.PHONY: ${OUT} .PHONY: ${OUT}
${OUT}: dirs ${DEPS} ${OBJ} ${OUT}: dirs ${DEPS} ${OBJ}
@ -50,8 +50,8 @@ clean:
.PHONY: plugins .PHONY: plugins
plugins: plugins:
make -C plugins/8.18 make -C plugins/8.18 -j
make -C plugins/amauth make -C plugins/amauth -j
cd plugins/8.18-song-limit && cargo build --release --target x86_64-pc-windows-gnu 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} cp plugins/8.18-song-limit/target/x86_64-pc-windows-gnu/release/song_limit_8_18.dll ${TARGET}
strip ${TARGET}/*.dll strip ${TARGET}/*.dll