diff --git a/.github/workflows/cmake-linux.yml b/.github/workflows/cmake-linux.yml index 3ddf653..7ee1dfa 100644 --- a/.github/workflows/cmake-linux.yml +++ b/.github/workflows/cmake-linux.yml @@ -35,7 +35,7 @@ jobs: - name: Build working-directory: ${{github.workspace}}/build-linux shell: bash - run: cmake --build . --config $BUILD_TYPE + run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server --parallel - name: Archive artifacts uses: actions/upload-artifact@v2 diff --git a/.github/workflows/cmake-windows.yml b/.github/workflows/cmake-windows.yml index b882766..99fec78 100644 --- a/.github/workflows/cmake-windows.yml +++ b/.github/workflows/cmake-windows.yml @@ -48,7 +48,7 @@ jobs: working-directory: ${{github.workspace}}/build-windows shell: bash run: | - cmake --build . --config Debug + cmake --build . --config Debug -t BeamMP-Server --parallel - name: Archive debug artifacts uses: actions/upload-artifact@v2 diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 2f8e3f3..54f2ee3 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -57,7 +57,7 @@ jobs: - name: Build working-directory: ${{github.workspace}}/build-linux shell: bash - run: cmake --build . --config $BUILD_TYPE + run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server --parallel - name: Upload Release Asset id: upload-release-asset @@ -101,7 +101,7 @@ jobs: - name: Build working-directory: ${{github.workspace}}/build-windows shell: bash - run: cmake --build . --config $BUILD_TYPE + run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server --parallel - name: Upload Release Asset id: upload-release-asset diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index c4d4ce4..da47d97 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -4,3 +4,4 @@ include_directories("${PROJECT_SOURCE_DIR}/deps/commandline") add_subdirectory("${PROJECT_SOURCE_DIR}/deps/commandline") add_subdirectory("${PROJECT_SOURCE_DIR}/deps/fmt") +add_subdirectory("${PROJECT_SOURCE_DIR}/deps/sol2")