1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
name: Build
on: [push, pull_request]
jobs:
mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: |
mkdir build
cd build
cmake ..
cmake --build .
linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Setup
run: |
sudo apt-get update
sudo apt-get install wayland-protocols pkg-config ninja-build
- name: Linux
run: |
mkdir build
cd build
cmake .. -GNinja
cmake --build .
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: |
mkdir build
cd build
cmake ..
cmake --build .