From bcba19f9170c7b74b677c736fbae89f421402e52 Mon Sep 17 00:00:00 2001 From: Vinicius Silva Date: Tue, 26 Dec 2023 20:13:00 -0300 Subject: [PATCH] Configuration github workflow --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..cac7db8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Pingpong + +on: + push: + branches: [dev] + + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up CMake + uses: actions/setup-cmake@v2 + with: + cmake-version: 3.21 + + - name: Configure and build + run: | + cmake . + make +