diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 0000000..84804ae --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,22 @@ +name: Compile + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install FPC + run: | + export DEBIAN_FRONTEND=noninteractive + sudo apt-get update + sudo apt-get install -y fpc + - name: Compile + uses: suve/GHActions-FPC@v0.4.0 + with: + source: main.pas