From 9a8afae68fde359e4a6b05bba16b159c416f2520 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Mon, 13 Sep 2021 17:33:46 -0600 Subject: [PATCH] CI: use GitHub Actions to build images --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ce97d65 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: 'Citra Docker Image CI' +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + image: ["linux-clang-format", "linux-flatpak", "linux-fresh", "linux-frozen", "linux-mingw", "linux-transifex"] + + steps: + - uses: actions/checkout@v2 + - uses: docker/setup-buildx-action@v1 + name: Setup Docker BuildX system + - uses: docker/build-push-action@v2 + name: Build image + with: + push: false + context: ${{ matrix.image }} + tags: citraemu/build-environments:${{ matrix.image }}