From be45125ef873504ecdda73cd608af952236263d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Fri, 13 Jan 2023 09:47:16 +0100 Subject: [PATCH] chore(ci): remove steps related to keysetcache in aws builds --- .github/workflows/aws_build_cpu.yml | 36 ----------------------------- .github/workflows/aws_build_gpu.yml | 36 ----------------------------- 2 files changed, 72 deletions(-) diff --git a/.github/workflows/aws_build_cpu.yml b/.github/workflows/aws_build_cpu.yml index c3779b2b9..4eb2c1276 100644 --- a/.github/workflows/aws_build_cpu.yml +++ b/.github/workflows/aws_build_cpu.yml @@ -111,17 +111,6 @@ jobs: echo "Debug: ccache statistics (after the build):" ccache -s - - name: Download KeySetCache - if: ${{ !contains(github.head_ref, 'newkeysetcache') }} - continue-on-error: true - run: | - cd compiler - GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make keysetcache_ci_populated - - - name: Mark KeySetCache - run: | - touch keysetcache.timestamp - - name: Test compiler uses: addnab/docker-run-action@v3 with: @@ -132,7 +121,6 @@ jobs: options: >- -v ${{ github.workspace }}/llvm-project:/llvm-project -v ${{ github.workspace }}/compiler:/compiler - -v ${{ github.workspace }}/KeySetCache:/tmp/KeySetCache -v ${{ github.workspace }}/build:/build ${{ env.DOCKER_GPU_OPTION }} shell: bash @@ -144,30 +132,6 @@ jobs: make DATAFLOW_EXECUTION_ENABLED=ON CCACHE=ON Python3_EXECUTABLE=$PYTHON_EXEC BUILD_DIR=/build run-tests run-end-to-end-dataflow-tests chmod -R ugo+rwx /tmp/KeySetCache - - name: Prune KeySetCache - run: | - echo "Previous cache size is" - du -sh KeySetCache - echo "Cleaning" - find KeySetCache/* -maxdepth 1 -mindepth 1 -not -newer keysetcache.timestamp -type d -exec rm -vr {} \; - echo "New cache size is" - du -sh KeySetCache - - - name: Upload KeySetCache - if: ${{ github.ref == 'refs/heads/main' }} - uses: actions/upload-artifact@v3 - with: - name: KeySetCacheV2 - path: KeySetCache - retention-days: 90 - - - name: Cleanup Old KeySetCache - uses: Remagpie/gha-remove-artifact@v1 - if: ${{ github.ref == 'refs/heads/main' }} - with: - only-name: KeySetCacheV2 - max-count: 1 - - name: Build the documentation id: build-doc if: ${{ steps.build-compiler.outcome == 'success' && !cancelled() }} diff --git a/.github/workflows/aws_build_gpu.yml b/.github/workflows/aws_build_gpu.yml index 2aa65412c..6e3d53c91 100644 --- a/.github/workflows/aws_build_gpu.yml +++ b/.github/workflows/aws_build_gpu.yml @@ -113,17 +113,6 @@ jobs: echo "Debug: ccache statistics (after the build):" ccache -s - - name: Download KeySetCache - if: ${{ !contains(github.head_ref, 'newkeysetcache') }} - continue-on-error: true - run: | - cd compiler - GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make keysetcache_ci_populated - - - name: Mark KeySetCache - run: | - touch keysetcache.timestamp - - name: Test compiler uses: addnab/docker-run-action@v3 with: @@ -134,7 +123,6 @@ jobs: options: >- -v ${{ github.workspace }}/llvm-project:/llvm-project -v ${{ github.workspace }}/compiler:/compiler - -v ${{ github.workspace }}/KeySetCache:/tmp/KeySetCache -v ${{ github.workspace }}/build:/build --gpus all shell: bash @@ -145,27 +133,3 @@ jobs: mkdir -p /tmp/concrete_compiler/gpu_tests/ make DATAFLOW_EXECUTION_ENABLED=ON CCACHE=ON Python3_EXECUTABLE=$PYTHON_EXEC BUILD_DIR=/build run-end-to-end-tests-gpu chmod -R ugo+rwx /tmp/KeySetCache - - - name: Prune KeySetCache - run: | - echo "Previous cache size is" - du -sh KeySetCache - echo "Cleaning" - find KeySetCache/* -maxdepth 1 -mindepth 1 -not -newer keysetcache.timestamp -type d -exec rm -vr {} \; - echo "New cache size is" - du -sh KeySetCache - - - name: Upload KeySetCache - if: ${{ github.ref == 'refs/heads/main' }} - uses: actions/upload-artifact@v3 - with: - name: KeySetCacheV2 - path: KeySetCache - retention-days: 90 - - - name: Cleanup Old KeySetCache - uses: Remagpie/gha-remove-artifact@v1 - if: ${{ github.ref == 'refs/heads/main' }} - with: - only-name: KeySetCacheV2 - max-count: 1