From 3e228f89eda81f5524c5215a80cc63b26285cc6e Mon Sep 17 00:00:00 2001 From: andreroesti Date: Mon, 4 Nov 2024 16:41:38 -0800 Subject: [PATCH] add cleanup and nightly run to CI action --- .github/workflows/build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 08247f1..1b09ad7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,9 +1,9 @@ name: Build LLVM and LLVM-MCAD inside Docker on: push: - #schedule: - # # Run nightly at 08:00 UTC (aka 00:00 Pacific, aka 03:00 Eastern) - # - cron: '0 8 * * *' + schedule: + # Run nightly at 08:00 UTC (aka 00:00 Pacific, aka 03:00 Eastern) + - cron: '0 8 * * *' permissions: contents: read # Default everything to read-only @@ -21,6 +21,8 @@ jobs: path: 'LLVM-MCA-Daemon' - name: setup and build inside Docker run: cd LLVM-MCA-Daemon/docker && ./up + with: + post: docker image rm mcad_dev # remove image after we're done to conserve space #- name: install dependencies # run: sudo ./docker/setup-deps.sh #- name: build LLVM