Skip to content

Commit

Permalink
ci: build: also build server
Browse files Browse the repository at this point in the history
  • Loading branch information
atar13 committed Apr 13, 2024
1 parent faff5cb commit 6cb5648
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions .github/workflows/build-client.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Client
name: Build

on:
push:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 6cb5648

Please sign in to comment.