Browse Source

Added -j2 option to make

Paul-Louis Ageneau 5 years ago
parent
commit
c198ffd994

+ 2 - 2
.github/workflows/build-gnutls.yml

@@ -18,7 +18,7 @@ jobs:
     - name: cmake
     - name: cmake
       run: cmake -B build -DUSE_JUICE=1 -DUSE_GNUTLS=1
       run: cmake -B build -DUSE_JUICE=1 -DUSE_GNUTLS=1
     - name: make
     - name: make
-      run: (cd build; make)
+      run: (cd build; make -j2)
     - name: test
     - name: test
       run: ./build/tests
       run: ./build/tests
   build-macos:
   build-macos:
@@ -35,6 +35,6 @@ jobs:
 # hack to bypass EPERM issue on sendto()
 # hack to bypass EPERM issue on sendto()
         CFLAGS: -DJUICE_ENABLE_ADDRS_LOCALHOST
         CFLAGS: -DJUICE_ENABLE_ADDRS_LOCALHOST
     - name: make
     - name: make
-      run: (cd build; make)
+      run: (cd build; make -j2)
     - name: test
     - name: test
       run: ./build/tests
       run: ./build/tests

+ 1 - 1
.github/workflows/build-nice.yml

@@ -18,7 +18,7 @@ jobs:
     - name: cmake
     - name: cmake
       run: cmake -B build -DUSE_JUICE=0 -DUSE_GNUTLS=1
       run: cmake -B build -DUSE_JUICE=0 -DUSE_GNUTLS=1
     - name: make
     - name: make
-      run: (cd build; make)
+      run: (cd build; make -j2)
     - name: test
     - name: test
       run: ./build/tests
       run: ./build/tests
 
 

+ 2 - 2
.github/workflows/build-openssl.yml

@@ -18,7 +18,7 @@ jobs:
     - name: cmake
     - name: cmake
       run: cmake -B build -DUSE_JUICE=1 -DUSE_GNUTLS=0
       run: cmake -B build -DUSE_JUICE=1 -DUSE_GNUTLS=0
     - name: make
     - name: make
-      run: (cd build; make)
+      run: (cd build; make -j2)
     - name: test
     - name: test
       run: ./build/tests
       run: ./build/tests
   build-macos:
   build-macos:
@@ -35,6 +35,6 @@ jobs:
 # hack to bypass EPERM issue on sendto()
 # hack to bypass EPERM issue on sendto()
         CFLAGS: -DJUICE_ENABLE_ADDRS_LOCALHOST
         CFLAGS: -DJUICE_ENABLE_ADDRS_LOCALHOST
     - name: make
     - name: make
-      run: (cd build; make)
+      run: (cd build; make -j2)
     - name: test
     - name: test
       run: ./build/tests
       run: ./build/tests