Skip to content

Commit 869d87f

Browse files
committed
wip
1 parent 7ff7774 commit 869d87f

47 files changed

Lines changed: 86 additions & 231175 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cli.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: ["master"]
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
NIGHTLY_TOOLCHAIN: nightly
11+
12+
concurrency:
13+
group: ${{github.workflow}}-${{github.ref}}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
format:
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 30
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: dtolnay/rust-toolchain@stable
23+
with:
24+
components: rustfmt
25+
- name: Check formatting
26+
run: cargo fmt --all -- --check
27+
28+
lint:
29+
runs-on: ubuntu-latest
30+
timeout-minutes: 30
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: actions/cache@v4
34+
with:
35+
path: |
36+
~/.cargo/bin/
37+
~/.cargo/registry/index/
38+
~/.cargo/registry/cache/
39+
~/.cargo/git/db/
40+
target/
41+
key: ${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }}
42+
- uses: dtolnay/rust-toolchain@stable
43+
with:
44+
components: clippy
45+
- name: Install Linux dependencies
46+
run: |
47+
sudo apt-get update
48+
sudo apt-get install --no-install-recommends clang libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
49+
- name: Set up mold linker
50+
uses: rui314/setup-mold@v1
51+
- name: Clippy check
52+
run: cargo clippy -- -D warnings
53+
54+
build:
55+
strategy:
56+
matrix:
57+
os: [windows-latest, ubuntu-latest, macos-latest]
58+
runs-on: ${{ matrix.os }}
59+
timeout-minutes: 30
60+
steps:
61+
- uses: actions/checkout@v4
62+
- uses: actions/cache@v4
63+
with:
64+
path: |
65+
~/.cargo/bin/
66+
~/.cargo/registry/index/
67+
~/.cargo/registry/cache/
68+
~/.cargo/git/db/
69+
target/
70+
key: ${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }}
71+
- uses: dtolnay/rust-toolchain@stable
72+
- name: Install Linux dependencies
73+
if: ${{ runner.os == 'linux' }}
74+
run: |
75+
sudo apt-get update
76+
sudo apt-get install --no-install-recommends lld clang libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
77+
- name: Set up mold linker
78+
if: ${{ runner.os == 'linux' }}
79+
uses: rui314/setup-mold@v1
80+
- name: Build
81+
run: cargo build --verbose
82+
- name: Run tests
83+
run: cargo test --verbose

.gitmodules

Lines changed: 0 additions & 6 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

Cargo.toml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
[workspace]
2-
members = [
3-
"steamkit",
4-
"steamkit-kv",
5-
"steamkit-protos",
6-
"steamkit-client",
7-
"steamkit-util",
8-
"steamkit-lang",
9-
"steamkit-vpk",
10-
]
2+
members = ["steamkit", "steamkit-vdf", "steamkit-vdf/fuzz"]
113
resolver = "2"

steamkit-client/Cargo.toml

Lines changed: 0 additions & 33 deletions
This file was deleted.

steamkit-client/TODO.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

steamkit-client/src/client.rs

Lines changed: 0 additions & 20 deletions
This file was deleted.

steamkit-client/src/connection/mod.rs

Lines changed: 0 additions & 13 deletions
This file was deleted.

steamkit-client/src/connection/transport/mod.rs

Lines changed: 0 additions & 9 deletions
This file was deleted.

steamkit-client/src/connection/transport/tcp.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)