diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f58601..d09acb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,9 @@ env: jobs: Test: - runs-on: ubuntu-latest + runs: + using: 'docker' + image: './docker/Dockerfile' steps: - uses: actions/checkout@v3 diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..49b64f9 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,6 @@ +# ubuntu 22.04 +FROM ubuntu@sha256:3d1556a8a18cf5307b121e0a98e93f1ddf1f3f8e092f1fddfd941254785b95d7 + +RUN apt update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -qy --no-install-recommends \ + libsdl2-dev \ No newline at end of file