From 2d7377bdc65d8695831284a017cb1d7be5b10cf2 Mon Sep 17 00:00:00 2001 From: MeganerdDev <114895043+MeganerdDev@users.noreply.github.com> Date: Fri, 5 Apr 2024 00:03:30 -0400 Subject: [PATCH] Create ci.yaml --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..d6fb46b --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: C++ CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -y libx11-dev + + - name: Compile program + run: g++ -o night-vision night-vision.cpp -lX11