Skip to content

Commit

Permalink
Add CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
feliwir committed Mar 10, 2021
1 parent dde0a21 commit 0f7cf95
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build libvp6
on:
push:
branches: [master]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]

env:
# Indicates the CMake build directory where project files and binaries are being produced.
CMAKE_BUILD_DIR: ${{ github.workspace }}/build/

steps:
- name: Checkout CIDE source code
uses: actions/checkout@v2
with:
submodules: true

- name: Get CMake
uses: lukka/get-cmake@latest

- name: CMake Configure
run: |
cmake -B "${{ env.CMAKE_BUILD_DIR }}"
- name: CMake Build
run: |
cmake --build "${{ env.CMAKE_BUILD_DIR }}"

0 comments on commit 0f7cf95

Please sign in to comment.