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 +