mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-25 23:13:39 +00:00
[client] build pull requests and master with GitHub Actions
This commit is contained in:
parent
bfc7b43758
commit
b8178b3e7d
23
.github/workflows/build.yml
vendored
Normal file
23
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: build
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
client:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Install client dependencies
|
||||
run: |
|
||||
sudo apt-get install \
|
||||
binutils-dev libdrm-dev libsdl2-dev libsdl2-ttf-dev \
|
||||
libspice-protocol-dev nettle-dev wayland-protocols
|
||||
- name: Configure client
|
||||
run: |
|
||||
mkdir client/build
|
||||
cd client/build
|
||||
cmake ..
|
||||
- name: Build client
|
||||
run: |
|
||||
cd client/build
|
||||
make -j$(nproc)
|
Loading…
Reference in New Issue
Block a user