From da24b85f68990c267d3958b3f32bf813f0317a0d Mon Sep 17 00:00:00 2001 From: ksherlock Date: Tue, 1 Dec 2020 23:21:37 -0500 Subject: [PATCH] Create cmake-ubuntu.yml --- .github/workflows/cmake-ubuntu.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/cmake-ubuntu.yml diff --git a/.github/workflows/cmake-ubuntu.yml b/.github/workflows/cmake-ubuntu.yml new file mode 100644 index 0000000..e42affa --- /dev/null +++ b/.github/workflows/cmake-ubuntu.yml @@ -0,0 +1,29 @@ +name: CMake Ubuntu + +on: [push] + +env: + BUILD_TYPE: Release + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: apt-get + run: sudo apt-get install ragel + + - name: Create Build Environment + run: cmake -E make_directory ${{runner.workspace}}/build + + - name: Configure CMake + shell: bash + working-directory: ${{runner.workspace}}/build + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE + + - name: Build + working-directory: ${{runner.workspace}}/build + shell: bash + run: cmake --build . --config $BUILD_TYPE