From 6cb56484cde4bc62c79bdb96f517ff3694b06f77 Mon Sep 17 00:00:00 2001 From: Anthony Tarbinian Date: Fri, 12 Apr 2024 23:06:16 -0700 Subject: [PATCH] ci: build: also build server --- .github/workflows/build-client.yml | 32 +++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-client.yml b/.github/workflows/build-client.yml index 522a91e1..ae983637 100644 --- a/.github/workflows/build-client.yml +++ b/.github/workflows/build-client.yml @@ -1,4 +1,4 @@ -name: Build Client +name: Build on: push: @@ -7,8 +7,8 @@ on: pull_request: jobs: - windows: - name: Build on Windows + client-windows: + name: Client on Windows runs-on: windows-latest steps: - uses: actions/checkout@v4 @@ -18,8 +18,8 @@ jobs: run: cd build && cmake .. - name: Build run: ls && cd build && ls && make client - linux: - name: Build on Linux (Ubuntu) + client-linux: + name: Client on Linux (Ubuntu) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -29,3 +29,25 @@ jobs: run: cd build && cmake .. - name: Build run: cd build && make client + server-windows: + name: Server on Windows + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Create build dir + run: mkdir -p build + - name: Run CMake + run: cd build && cmake .. + - name: Build + run: cd build && make server + server-linux: + name: Server on Linux (Ubuntu) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Create build dir + run: mkdir -p build + - name: Run CMake + run: cd build && cmake .. + - name: Build + run: cd build && make server