diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6f9b684..69967be 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,7 +15,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + - name: Install dependencies + run: | + sudo apt-get update + 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 + - name: Prepare and start spacebarchat-server + run: | + npm install + npm run setup + npm run start & + working-directory: ./spacebarchat-server - name: Build run: cargo build --verbose - name: Run tests