Update rust.yml
This commit is contained in:
parent
592d3a2559
commit
7d7a4d102a
|
@ -16,14 +16,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Node.js
|
|
||||||
run: |
|
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
|
||||||
sudo apt-get install -y nodejs
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y git python3 build-essential
|
sudo apt-get install -y git python3 build-essential
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
||||||
|
sudo apt-get install -y nodejs
|
||||||
git clone https://github.com/polyphony-chat/spacebarchat-server.git
|
git clone https://github.com/polyphony-chat/spacebarchat-server.git
|
||||||
- name: Prepare and start spacebarchat-server
|
- name: Prepare and start spacebarchat-server
|
||||||
run: |
|
run: |
|
||||||
|
@ -31,7 +29,7 @@ jobs:
|
||||||
npm run setup
|
npm run setup
|
||||||
npm run start &
|
npm run start &
|
||||||
echo $! > server_pid.txt
|
echo $! > server_pid.txt
|
||||||
working-directory: ./server
|
working-directory: ./spacebarchat-server
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
Loading…
Reference in New Issue