Create server-ubuntu.yml

Add workflow for server build test on ubuntu 22.04
This commit is contained in:
Wolfgang
2023-05-29 11:23:46 +02:00
committed by GitHub
parent 0c19e596f5
commit 48b6195538

21
.github/workflows/server-ubuntu.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Server build ubuntu 22.04
on:
workflow_dispatch:
jobs:
build:
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
- 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
./build.sh