From a9004722d34eaa5a74d40f9fc67ea9532bcd2032 Mon Sep 17 00:00:00 2001 From: elgeeko1 <11233838+elgeeko1@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:55:21 -0700 Subject: [PATCH] Github Action run on multiple architectures. --- .github/workflows/ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46cb837..d1d7465 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,9 +7,13 @@ on: - ci-test jobs: - e2e-test: + build: runs-on: ubuntu-24.04 - + strategy: + matrix: + platform: + - amd64 + - arm64 steps: - name: Checkout code uses: actions/checkout@v4 @@ -34,9 +38,13 @@ jobs: working-directory: InfluxPublisher/py run: lfc src/InfluxPublisher.lf - - name: Start Test Publisher environment + - name: Build docker images + working-directory: InfluxPublisher + run: docker compose build + + - name: Start docker containers working-directory: InfluxPublisher - run: docker compose up -d --build + run: docker compose up -d - name: Run E2E Tests working-directory: InfluxPublisher/tests