mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 14:12:25 +00:00
make linux workflow parallel, add runtime dependencies
This commit is contained in:
@@ -35,12 +35,12 @@ jobs:
|
|||||||
- name: Build Server
|
- name: Build Server
|
||||||
working-directory: ${{github.workspace}}/build-linux
|
working-directory: ${{github.workspace}}/build-linux
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server
|
run: cmake --build . --config $BUILD_TYPE -t BeamMP-Server --parallel
|
||||||
|
|
||||||
- name: Build Tests
|
- name: Build Tests
|
||||||
working-directory: ${{github.workspace}}/build-linux
|
working-directory: ${{github.workspace}}/build-linux
|
||||||
shell: bash
|
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
|
- name: Archive server artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
@@ -63,6 +63,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: BeamMP-Server-linux-tests
|
name: BeamMP-Server-linux-tests
|
||||||
path: ${{github.workspace}}
|
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
|
- name: Test
|
||||||
working-directory: ${{github.workspace}}
|
working-directory: ${{github.workspace}}
|
||||||
|
|||||||
Reference in New Issue
Block a user