diff --git a/.github/workflows/make_linux_cpp.yml b/.github/workflows/make_linux_cpp.yml index e9286eb31b..6fd82e8567 100644 --- a/.github/workflows/make_linux_cpp.yml +++ b/.github/workflows/make_linux_cpp.yml @@ -17,7 +17,7 @@ jobs: - name: Build third party run: make third_party -j4 - name: Build C++ - run: make cc -j4 + run: make compile_libraries -j4 - name: Test C++ run: make test_cc - name: Install diff --git a/makefiles/Makefile.dotnet.mk b/makefiles/Makefile.dotnet.mk index a0e5bfcc1e..129387253d 100644 --- a/makefiles/Makefile.dotnet.mk +++ b/makefiles/Makefile.dotnet.mk @@ -638,6 +638,11 @@ endif ###################### ## Nuget artifact ## ###################### + +package_dotnet: compile_libraries + -$(DEL) $.*pkg + $(COPY) dependencies$Sdotnet$Spackages$S*.*pkg . + .PHONY: nuget_archive # Build .Net "Google.OrTools" Nuget Package nuget_archive: dotnet | $(TEMP_DOTNET_DIR) "$(DOTNET_BIN)" publish $(DOTNET_BUILD_ARGS) --no-build --no-dependencies --no-restore -f net6.0 \ diff --git a/makefiles/Makefile.java.mk b/makefiles/Makefile.java.mk index 767eaf9b40..66b77b1c6a 100644 --- a/makefiles/Makefile.java.mk +++ b/makefiles/Makefile.java.mk @@ -79,6 +79,12 @@ JAVA_PATH := $(TEMP_JAVA_DIR)$S$(JAVA_ORTOOLS_PROJECT)$Ssrc$Smain $(TEMP_JAVA_DIR): $(MKDIR) $(TEMP_JAVA_DIR) +package_java: compile_libraries + $(DEL) *.jar + $(COPY) dependencies$Sjava$Sortools-java$Starget$S*.jar . + $(COPY) dependencies$Sjava$Sortools-$(JAVA_NATIVE_IDENTIFIER)$Starget$S*.jar . + + ############################# ## Java Examples/Samples ## #############################