Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rm: buildcache sharing #154

Merged
merged 1 commit into from
Mar 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 27 additions & 45 deletions .github/workflows/integrity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,12 @@ jobs:
uses: actions/checkout@v2
- name: Building as Checking
uses: ./.github/actions/checkbuild-baselayer
- name: Correct package permission for upload-artifact
if: success()
run: |
sudo chmod -R o+r .buildcache/registry/src/github.com-*/unicode-xid-*
sudo chmod -R o+r .buildcache/target
- name: Uploading Build Artifacts
uses: actions/upload-artifact@v1
if: success()
with:
name: "Peridot IntegrityCheck BuildCache"
path: .buildcache
# - name: Uploading Build Artifacts
# uses: actions/upload-artifact@v1
# if: success()
# with:
# name: "Peridot IntegrityCheck BuildCache"
# path: .buildcache
- name: Notify as Failure
uses: ./.github/actions/integrity-check-slack-notifier
if: failure()
Expand All @@ -51,14 +46,11 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checking out
uses: actions/checkout@v2
- name: Downloading last Build Artifacts
uses: actions/download-artifact@v1
with:
name: "Peridot IntegrityCheck BuildCache"
path: .buildcache
- name: Resetting buildcache owner
run: |
sudo chown -hR root:root .buildcache
# - name: Downloading last Build Artifacts
# uses: actions/download-artifact@v1
# with:
# name: "Peridot IntegrityCheck BuildCache"
# path: .buildcache
- name: Building as Checking
uses: ./.github/actions/checkbuild-subdir
with:
Expand Down Expand Up @@ -87,28 +79,21 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checking out
uses: actions/checkout@v2
- name: Downloading last Build Artifacts
uses: actions/download-artifact@v1
with:
name: "Peridot IntegrityCheck BuildCache"
path: .buildcache
- name: Resetting buildcache owner
run: |
ls -l .buildcache
ls -l .buildcache/target/debug/build/crc32fast-*
sudo chown -hR root:root .buildcache
ls -l .buildcache
ls -l .buildcache/target/debug/build/crc32fast-*
# - name: Downloading last Build Artifacts
# uses: actions/download-artifact@v1
# with:
# name: "Peridot IntegrityCheck BuildCache"
# path: .buildcache
- name: Building as Checking
uses: ./.github/actions/checkbuild-subdir
with:
path: .
- name: Uploading Build Artifacts
uses: actions/upload-artifact@v1
if: success()
with:
name: "Peridot IntegrityCheck BuildCache"
path: .buildcache
# - name: Uploading Build Artifacts
# uses: actions/upload-artifact@v1
# if: success()
# with:
# name: "Peridot IntegrityCheck BuildCache"
# path: .buildcache
- name: Notify as Failure
uses: ./.github/actions/integrity-check-slack-notifier
if: failure()
Expand All @@ -133,14 +118,11 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checking out
uses: actions/checkout@v2
- name: Downloading last Build Artifacts
uses: actions/download-artifact@v1
with:
name: "Peridot IntegrityCheck BuildCache"
path: .buildcache
- name: Resetting buildcache owner
run: |
sudo chown -hR root:root .buildcache
# - name: Downloading last Build Artifacts
# uses: actions/download-artifact@v1
# with:
# name: "Peridot IntegrityCheck BuildCache"
# path: .buildcache
- name: Building as Checking
uses: ./.github/actions/checkbuild-subdir
with:
Expand Down