mirror of
https://github.com/TartanLlama/expected.git
synced 2025-07-31 17:34:31 +02:00
Create cmake.yml
This commit is contained in:
24
.github/workflows/cmake.yml
vendored
Normal file
24
.github/workflows/cmake.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: CMake
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Configure CMake
|
||||||
|
run: cmake -B ${{github.workspace}}/build
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build ${{github.workspace}}/build
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
working-directory: ${{github.workspace}}/build
|
||||||
|
run: cmake --build ${{github.workspace}}/build --target test
|
Reference in New Issue
Block a user