From 1636ed9aba4ebf2be7af5ce1b20e40e71d8b27dc Mon Sep 17 00:00:00 2001 From: Tatsuya Kawano Date: Sun, 14 Jul 2024 06:12:34 +0800 Subject: [PATCH] CI: Use `arm-3.0-medium` EC2 instance (4 vCPU, 8 GB RAM) for AWS CodeBuild --- .github/workflows/CI.yml | 4 ++-- .github/workflows/CIArm64.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3f5e7104..4fda567d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -46,8 +46,8 @@ jobs: - name: Checkout Moka uses: actions/checkout@v4 - # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources - # 2-core CPU (x86_64), 7 GB of RAM + # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories + # x86_64, 4 vCPUs, 16 GB RAM - name: Show CPU into run: | echo "nproc: $(nproc)" diff --git a/.github/workflows/CIArm64.yml b/.github/workflows/CIArm64.yml index 22562e5d..b9ad71e2 100644 --- a/.github/workflows/CIArm64.yml +++ b/.github/workflows/CIArm64.yml @@ -35,7 +35,8 @@ jobs: # Runs on AWS Graviton (arm64) runner at AWS CodeBuild. # https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html # https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html - runs-on: codebuild-moka-arm64-runner-${{ github.run_id }}-${{ github.run_attempt }}-arm-3.0-small + # arm64, 4 vCPUs, 8 GB RAM + runs-on: codebuild-moka-arm64-runner-${{ github.run_id }}-${{ github.run_attempt }}-arm-3.0-medium steps: - name: Checkout Moka