Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Server Audit
name: Audit

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
server_security_audit:
security_audit:
runs-on: ubuntu-latest

steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Server Build
name: Build

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
server_build:
build:
runs-on: ${{ matrix.os }}

strategy:
Expand Down Expand Up @@ -35,6 +35,12 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true

- name: build client (default feature)
uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets --manifest-path client/Cargo.toml

- name: build server (default feature)
uses: actions-rs/cargo@v1
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Server Clippy
name: Clippy

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
server_clippy:
clippy:
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -35,6 +35,12 @@ jobs:
override: true
components: clippy

- name: clippy client (default feature)
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --manifest-path client/Cargo.toml -- -D warnings

- name: clippy server (default feature)
uses: actions-rs/cargo@v1
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Server Coverage
name: Coverage

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
server_coverage:
coverage:
runs-on: ubuntu-latest

steps:
Expand All @@ -23,7 +23,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast --manifest-path server/Cargo.toml
args: --all-features --no-fail-fast --manifest-path Cargo.toml
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Server Fmt
name: Fmt

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
server_fmt:
fmt:
runs-on: ubuntu-latest

steps:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/server-test.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Server Test
name: Test

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
server_test:
test:
runs-on: ${{ matrix.os }}

strategy:
Expand Down Expand Up @@ -37,6 +37,12 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true

- name: test client (default feature)
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path client/Cargo.toml

- name: test server (default feature)
uses: actions-rs/cargo@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[workspace]
members = ["server", "server/server-core", "server/server-macro"]
members = ["server", "server/server-core", "server/server-macro", "client"]
93 changes: 0 additions & 93 deletions client/.clang-format

This file was deleted.

8 changes: 8 additions & 0 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "client"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
6 changes: 0 additions & 6 deletions client/Includes/Server.hpp

This file was deleted.

6 changes: 0 additions & 6 deletions client/Sources/Server.cpp

This file was deleted.

9 changes: 0 additions & 9 deletions client/Tests/SimpleTest.cpp

This file was deleted.

1 change: 1 addition & 0 deletions client/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@