mirror of
https://github.com/ksherlock/mpw-shell.git
synced 2024-12-22 02:30:12 +00:00
Create cmake-ubuntu.yml
This commit is contained in:
parent
f25a30edc7
commit
da24b85f68
29
.github/workflows/cmake-ubuntu.yml
vendored
Normal file
29
.github/workflows/cmake-ubuntu.yml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user