Skip to content

Commit

Permalink
ci: Confirm architecture in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kichik committed Jun 15, 2022
1 parent 30d25fc commit 2cb39e4
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/self-hosted.yml
Expand Up @@ -10,33 +10,38 @@ jobs:
matrix:
include:
- os: linux
arch: x64
arch: X64
label: codebuild-x64
docker: true
- os: linux
arch: arm64
arch: ARM64
label: codebuild-arm64
docker: true
- os: linux
arch: x64
arch: X64
label: lambda-x64
docker: false
- os: linux
arch: arm64
arch: ARM64
label: lambda-arm64
docker: false
- os: linux
arch: x64
arch: X64
label: fargate-x64
docker: false
- os: linux
arch: arm64
arch: ARM64
label: fargate-arm64
docker: false

runs-on: [self-hosted, "${{ matrix.os }}", "${{ matrix.arch }}", "${{ matrix.label }}"]
steps:
- run: export
- run: |
if [ "${{ matrix.arch }}" != "${RUNNER_ARCH}" ]; then
echo "Expected RUNNER_ARCH to be ${{ matrix.arch }} but it's $RUNNER_ARCH"
exit 1
fi
- run: ls -lah
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 2cb39e4

Please sign in to comment.