Update test.yml

This commit is contained in:
Wolfgang
2023-05-29 19:45:53 +02:00
committed by GitHub
parent f5b49ef152
commit beed92f894

View File

@@ -8,12 +8,20 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Installing dependencies
run: |
sudo apt-get install -y --no-install-recommends build-essential curl ca-certificates sudo git lintian fakeroot pkg-config libudev-dev libssl-dev libapt-pkg-dev libclang-dev libpam0g-dev
sudo apt-get install -y --no-install-recommends javascript-common libc-ares2 libuv1
sudo apt-get install -y --no-install-recommends tzdata uuid-dev x11-common xdg-utils
- name: Installing rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -sSf | sh -s -- -y
- uses: actions/checkout@v3
- name: Running compile script
run: |
source ${HOME}/.cargo/env
env
if [ "${RUNNER_DEBUG}" = "1" ]; then
echo ./build.sh client debug
./build.sh debug
else
echo ./build.sh client
./build.sh
fi