diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml new file mode 100644 index 000000000..a7733ca50 --- /dev/null +++ b/.github/workflows/pr-build.yml @@ -0,0 +1,29 @@ +name: Pull request CI build + +# Run build for all pull requests +on: + pull_request: + +# Limit to only one build for a given PR source branch at a time, +# cancelling any in-progress builds +concurrency: + group: guacamole-client-pr-${{ github.head_ref }} + cancel-in-progress: true + +jobs: + + docker_build: + name: Run docker build + runs-on: ubuntu-latest + steps: + + - name: Check out code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + persist-credentials: false + + - name: Build Docker container + shell: sh + run: | + docker build --pull --no-cache --force-rm . diff --git a/.ratignore b/.ratignore index c3f1957cd..d46e96082 100644 --- a/.ratignore +++ b/.ratignore @@ -1,3 +1,4 @@ +.github/** CONTRIBUTING doc/licenses/*/**/* doc/**/html/*.html