This commit is contained in:
bitfl0wer 2023-04-15 18:16:28 +02:00
commit f224cf8c97
1 changed files with 14 additions and 1 deletions

View File

@ -16,6 +16,19 @@ jobs:
steps: 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 - name: Build
run: cargo build --verbose run: cargo build --verbose
- name: Run tests - name: Run tests