diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml new file mode 100644 index 00000000..e405b0c0 --- /dev/null +++ b/.github/workflows/compilation.yml @@ -0,0 +1,22 @@ +name: CI-compile + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + container: ps2dev/ps2dev:v1.0 + # instead of "ps2dev/ps2dev:latest" you can use different tags, for example for old projects you can use "ps2dev/ps2dev:v1.0" + steps: + - name: Install dependencies + run: | + apk add build-base git zip + - uses: actions/checkout@v2 + - run: | + git fetch --prune --unshallow + - name: Compile project + run: | + make all + # commands for compiling your project