Ensure parallel builds
This commit is contained in:
parent
3175f5d967
commit
5e0f3fbeb4
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
8
Makefile
8
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user