Skip to content

Commit

Permalink
enhance: add rockylinux for code checker
Browse files Browse the repository at this point in the history
Signed-off-by: Sammy Huang <[email protected]>
  • Loading branch information
yellow-shine committed Mar 29, 2024
1 parent 00251ba commit bc4f05c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/code-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit bc4f05c

Please sign in to comment.