Skip to content

Commit

Permalink
[build-tools] Move /opt/git/diem to /opt/git/aptos-core
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnazario authored and aptos-bot committed Mar 9, 2022
1 parent dbaa8ad commit d594ba9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/actions/build-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ runs:
sudo mkdir -p /opt/git || true
sudo chmod -R g+rw /opt/
sudo chgrp -R wheel /opt/
mv /Users/runner/work/diem/diem /opt/git/diem
ln -s /opt/git/diem /Users/runner/work/diem/diem
cd /opt/git/diem
mv /Users/runner/work/aptos/aptos /opt/git/aptos-core
ln -s /opt/git/aptos-core /Users/runner/work/aptos/aptos
cd /opt/git/aptos-core
fi
# prepare move lang prover tooling.
Expand All @@ -61,5 +61,5 @@ runs:
shell: bash
run: |
echo 'RUST_BACKTRACE=1' | tee -a $GITHUB_ENV
echo 'DIEM_DUMP_LOGS=1' | tee -a $GITHUB_ENV
echo 'APTOS_DUMP_LOGS=1' | tee -a $GITHUB_ENV
echo 'CARGO_INCREMENTAL=0' | tee -a $GITHUB_ENV
6 changes: 3 additions & 3 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaults:

env:
max_threads: 16
pre_command: cd /opt/git/diem/
pre_command: cd /opt/git/aptos-core/

jobs:
# dev-setup-sh-test:
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
# container:
# image: ghcr.io/diem/aptos_build_environment:${{ needs.prepare.outputs.changes-target-branch }}
# volumes:
# - "${{github.workspace}}:/opt/git/diem"
# - "${{github.workspace}}:/opt/git/aptos-core"
# steps:
# - uses: actions/[email protected]
# with:
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
# container:
# image: ghcr.io/diem/aptos_build_environment:${{ needs.prepare.outputs.changes-target-branch }}
# volumes:
# - "${{github.workspace}}:/opt/git/diem"
# - "${{github.workspace}}:/opt/git/aptos-core"
# steps:
# - uses: actions/[email protected]
# - uses: ./.github/actions/build-setup
Expand Down
4 changes: 2 additions & 2 deletions x.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public = true
region = "us-west-2"
endpoint = "https://s3-us-west-2.amazonaws.com"
required-cargo-home = "/opt/cargo/"
required-git-home = "/opt/git/diem"
required-git-home = "/opt/git/aptos-core"
envs = [
#To debug sccache uncomment the two lines below.
#["SCCACHE_ERROR_LOG","/tmp/sccache_log"],
Expand All @@ -21,7 +21,7 @@ envs = [

[cargo.sccache.installer]
version = "0.2.16-alpha.0"
git = "https://github.com/diem/sccache.git"
git = "https://github.com/mozilla/sccache.git"
git-rev = "ef50d87a58260c30767520045e242ccdbdb965af"
features = [ "s3" ]

Expand Down

0 comments on commit d594ba9

Please sign in to comment.