message: Fix build parameters
diff: @@ -4,7 +4,7 @@ on:
  branches:
  - master
  jobs:
  - target-unix:
  + target-linux:
  name: Target Linux
  runs-on: ubuntu-latest
  steps:
  @@ -15,12 +15,12 @@ jobs:
  sudo apt update
  sudo apt-get install -y ccache python3-zmq
  - name: Build dependencies
  - run: make -C depends -j2 HOST=x86_64-unknown-linux-gnu
  + run: make -C depends -j$(nproc) HOST=x86_64-unknown-linux-gnu
  - name: Build Zcoin
  run: |
  ./autogen.sh
  ./configure --enable-exodus --enable-tests --with-comparison-tool=no --prefix=$(pwd)/depends/x86_64-unknown-linux-gnu
  - make -j2
  + make -j$(nproc)
  - name: Unit Tests
  run: make check
  - name: RPC Tests
  @@ -38,17 +38,17 @@ jobs:
  run: |
  sudo apt update
  sudo apt install -y ccache g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
  - - name: Update gcc mingw
  - run: sudo update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
  - - name: Update g++ mingw
  - run: sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
  + - name: Switch MinGW GCC and G++ to POSIX Threading
  + run: |
  + sudo update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
  + sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
  - name: Build dependencies
  - run: make -C depends -j2 HOST=x86_64-w64-mingw32
  + run: make -C depends -j$(nproc) HOST=x86_64-w64-mingw32
  - name: Build Zcoin
  run: |
  ./autogen.sh
  ./configure --disable-jni --enable-exodus --prefix=$(pwd)/depends/x86_64-w64-mingw32
  - make -j2
  + make -j$(nproc)
  target-macos:
  name: Target macOS
  @@ -67,9 +67,9 @@ jobs:
  - name: Extract SDK
  run: tar -C depends/SDKs -xf /tmp/MacOSX10.11.sdk.tar.gz
  - name: Build dependencies
  - run: make -C depends -j2 HOST=x86_64-apple-darwin11
  + run: make -C depends -j$(nproc) HOST=x86_64-apple-darwin11
  - name: Build Zcoin
  run: |
  ./autogen.sh
  ./configure --enable-exodus --prefix=$(pwd)/depends/x86_64-apple-darwin11
  - make -j2
  \ No newline at end of file
  + make -j$(nproc)
  \ No newline at end of file
  