-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from weezy20/part3
Kvs-client-server implementation
- Loading branch information
Showing
29 changed files
with
2,302 additions
and
442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,27 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Free up space on runner | ||
run: | | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
- name: Install protoc | ||
run: | | ||
sudo apt-get install -y protobuf-compiler | ||
protoc --version | ||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
with: | ||
cache-on-failure: true | ||
cache-all-crates: true | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: cargo build --verbose | ||
run: cargo build --workspace --verbose | ||
|
||
- name: Run tests | ||
run: cargo test --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
target | ||
*.log | ||
*.index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"name": "Debug cmd in executable 'kvs'", | ||
"program": "${workspaceFolder}/target/debug/kvs.exe", | ||
"args": [ | ||
"set", | ||
"horseradish", | ||
"clams" | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"preLaunchTask": "rust: cargo build", | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "rust: cargo build", | ||
"type": "cargo", | ||
"command": "build", | ||
"args": [ | ||
// "--package kvs", | ||
// "--bin kvs" | ||
], | ||
"options": { | ||
"cwd": "${workspaceFolder}", | ||
}, | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": "build", | ||
} | ||
] | ||
} |
Oops, something went wrong.