From 2d3da6a56f36305ac1c193eed25c6cf57a3c7964 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Sun, 24 Dec 2023 00:49:49 -0800 Subject: [PATCH] ORC-1557: Add GitHub Action CI for `Docker Test` ### What changes were proposed in this pull request? This PR aims to add a new GitHub Action CI pipeline for `Docker Test`. ### Why are the changes needed? To automate `Docker` and reduce the overhead of release process. ### How was this patch tested? Pass the CIs. Closes #1696 from dongjoon-hyun/dockertest. Authored-by: Dongjoon Hyun Signed-off-by: Dongjoon Hyun --- .github/workflows/build_and_test.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 48e6fa348c..af61de7d40 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -3,13 +3,11 @@ name: Build and test on: push: paths-ignore: - - 'docker' - 'site/**' branches: - main pull_request: paths-ignore: - - 'docker' - 'site/**' branches: - main @@ -20,6 +18,26 @@ concurrency: cancel-in-progress: true jobs: + docker: + name: "Docker ${{ matrix.os }}" + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + os: + - debian11 + - debian12 + - ubuntu24 + - fedora37 + - rocky9 + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: "Test" + run: | + cd docker + ./run-one.sh local main ${{ matrix.os }} + build: name: "Java ${{ matrix.java }} and ${{ matrix.cxx }} on ${{ matrix.os }}" runs-on: ${{ matrix.os }}