Skip to content

Commit

Permalink
CI: Use arm-3.0-medium EC2 instance (4 vCPU, 8 GB RAM) for AWS Code…
Browse files Browse the repository at this point in the history
…Build
  • Loading branch information
tatsuya6502 committed Jul 13, 2024
1 parent ed070de commit 1636ed9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/CIArm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1636ed9

Please sign in to comment.