From cc35d83834d2335b4d48b723c394aaad6bdb72f1 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Thu, 26 May 2022 15:54:23 +0200 Subject: [PATCH] make linux workflow parallel, add runtime dependencies --- .github/workflows/cmake-linux.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-linux.yml b/.github/workflows/cmake-linux.yml index 743cced..3b552cf 100644 --- a/.github/workflows/cmake-linux.yml +++ b/.github/workflows/cmake-linux.yml @@ -35,12 +35,12 @@ jobs: - name: Build Server working-directory: ${{github.workspace}}/build-linux shell: bash - run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server + run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server --parallel - name: Build Tests working-directory: ${{github.workspace}}/build-linux shell: bash - run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server-tests + run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server-tests --parallel - name: Archive server artifact uses: actions/upload-artifact@v2 @@ -63,6 +63,12 @@ jobs: with: name: BeamMP-Server-linux-tests path: ${{github.workspace}} + + - name: Install Runtime Dependencies + shell: bash + run: | + sudo apt-get update + sudo apt-get install -y libz rapidjson liblua5.3 libssl libwebsocketpp libcurl4-openssl - name: Test working-directory: ${{github.workspace}}