fix CI
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: myRPC-CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -10,8 +10,6 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Build and Unit Tests
|
name: Build and Unit Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
services:
|
|
||||||
\# No extra services needed
|
|
||||||
steps:
|
steps:
|
||||||
\- uses: actions/checkout\@v3
|
\- uses: actions/checkout\@v3
|
||||||
|
|
||||||
@@ -35,7 +33,6 @@ steps:
|
|||||||
sudo mkdir -p /etc/myRPC
|
sudo mkdir -p /etc/myRPC
|
||||||
printf "port = 9090;\nsocket_type = \"stream\";\n" | sudo tee /etc/myRPC/myRPC.conf
|
printf "port = 9090;\nsocket_type = \"stream\";\n" | sudo tee /etc/myRPC/myRPC.conf
|
||||||
printf "$(whoami)\n" | sudo tee /etc/myRPC/users.conf
|
printf "$(whoami)\n" | sudo tee /etc/myRPC/users.conf
|
||||||
sudo chmod -R a+r /etc/myRPC
|
|
||||||
|
|
||||||
# Run server in background, capturing its PID
|
# Run server in background, capturing its PID
|
||||||
build/myRPC-server &
|
build/myRPC-server &
|
||||||
|
|||||||
Reference in New Issue
Block a user