fix: disabling keysetcache until test on aws

This commit is contained in:
rudy
2022-12-15 10:01:52 +01:00
committed by rudy-6-4
parent 8641b52782
commit 36dc249712

View File

@@ -121,17 +121,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:
@@ -142,7 +131,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
shell: bash
run: |
@@ -150,31 +138,6 @@ jobs:
cd /compiler
pip install pytest
make DATAFLOW_EXECUTION_ENABLED=ON CCACHE=ON Python3_EXECUTABLE=$PYTHON_EXEC BUILD_DIR=/build run-tests run-end-to-end-dataflow-tests run-rust-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: KeySetCacheV4
path: KeySetCache
retention-days: 90
- name: Cleanup Old KeySetCache
uses: Remagpie/gha-remove-artifact@v1
if: ${{ github.ref == 'refs/heads/main' }}
with:
only-name: KeySetCacheV4
max-count: 1
- name: Build the documentation
id: build-doc
@@ -268,13 +231,6 @@ jobs:
echo "Debug: ccache statistics (after the build):"
ccache -s
- name: Download KeySetCache
continue-on-error: true
if: ${{ github.event_name == 'push' && !contains(github.head_ref, 'newkeysetcache') }}
run: |
cd compiler
KEYSETCACHECI="$TMPDIR/KeySetCache" GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make keysetcache_ci_populated
- name: Test
if: github.event_name == 'push'
run: |