diff --git a/.github/ci/ci.yml b/.github/ci/ci.yml new file mode 100644 index 0000000..4de3bb7 --- /dev/null +++ b/.github/ci/ci.yml @@ -0,0 +1,28 @@ +name: ci + +on: + workflow_dispatch: + push: + +jobs: + ci: + name: test ccache on ubuntu-latest + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup ccache + uses: hendrikmuhs/ccache-action@v1.2 + with: + # create-symlink: true + key: ${{ runner.os }}-build-hello-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-build-hello- + ${{ runner.os }}-build- + + - name: Build + run: make + + - name: Test + run: ./hello