Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# cmake
name: cmake

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Ragel Setup
run: |
sudo apt-get update && sudo apt-get install ragel -yq
# && sudo apt-get install -yq libboost1.65-dev
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.8
with:
cmake-version: '3.16.x'
- name: CMake Build
run: |
mkdir -p build
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
cd build
make
make install