diff --git a/.github/workflows/code-checker.yaml b/.github/workflows/code-checker.yaml index 9d67f0bb3e9c8..f112efc69f180 100644 --- a/.github/workflows/code-checker.yaml +++ b/.github/workflows/code-checker.yaml @@ -85,3 +85,29 @@ jobs: run: | sed -i 's/ubuntu20.04/amazonlinux2023/g' .env ./build/builder.sh /bin/bash -c "make install" + + rockylinux: + name: Code Checker rockylinux8 + # Run in amazonlinux docker + runs-on: ubuntu-latest + timeout-minutes: 180 + steps: + - name: Maximize build space + uses: easimon/maximize-build-space@master + if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner + with: + root-reserve-mb: 20480 + swap-size-mb: 1024 + remove-dotnet: 'true' + remove-android: 'true' + remove-haskell: 'true' + - name: Checkout + uses: actions/checkout@v2 + - name: Download Caches + uses: ./.github/actions/cache + with: + os: 'rockylinux8' + - name: Code Check + run: | + sed -i 's/ubuntu20.04/rockylinux8/g' .env + ./build/builder.sh /bin/bash -c "make install"