Skip to content

Commit

Permalink
update gitaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Zichangzhou committed Sep 14, 2024
1 parent 0dfdeed commit 69e6ee7
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ jobs:
runs-on: ubuntu-latest
container:
image: zichang1234/raptor:latest



# not sure
env:
Expand All @@ -120,10 +122,16 @@ jobs:
CCACHE_COMPRESS: true
CCACHE_COMPRESSLEVEL: 5

steps:
- name: Setup Container
steps:
- name: Free disk space (initial cleanup)
run: |
apt update && DEBIAN_FRONTEND="noninteractive" apt install -y sudo lsb-release gnupg2 cmake git python3
sudo apt-get clean
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /var/lib/mysql /var/lib/php /opt/ghc
df -h
# - name: Setup Container
# run: |
# apt update && DEBIAN_FRONTEND="noninteractive" apt install -y sudo lsb-release gnupg2 cmake git python3

- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -135,7 +143,7 @@ jobs:
uses: actions/cache@v4
with:
path: .ccache
save-state: true
# save-state: true
key: ccache-linux-${{ matrix.container }}-${{ github.sha }}
restore-keys: |
ccache-linux-${{ matrix.container }}-
Expand Down

0 comments on commit 69e6ee7

Please sign in to comment.