Skip to content

Commit

Permalink
Merge pull request #3 from jay-tux/github-ci
Browse files Browse the repository at this point in the history
Create c-cpp.yml
  • Loading branch information
jay-tux authored May 29, 2022
2 parents 2536620 + 56ede7e commit 90609b7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: C/C++ CI

on:
push:
branches: [ root ]
pull_request:
branches: [ root ]

jobs:
build:

runs-on: ubuntu-22.04

steps:
- name: update
if: ${{ env.ACT }}
run: sudo apt update && sudo apt install python3 && sudo apt install cmake
- name: Install pip3
if: ${{ env.ACT }}
run: curl https://bootstrap.pypa.io/get-pip.py >get-pip.py && python3 get-pip.py
- name: Install Conan
id: conan
uses: turtlebrowser/get-conan@main
- name: Conan version
run: echo "${{ steps.conan.outputs.version }}"
- uses: actions/checkout@v2
- name: make test
run: make test

# Note: the steps with `if: ${{ env.ACT }}` are for local setup only.

0 comments on commit 90609b7

Please sign in to comment.