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

Update arc-runner => github-actions in CI #494

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/continuous-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e # Terminates as soon as something fails
echo "The work dir is ${ARC_MLIR_BUILD}"

export PATH="$ARC_MLIR_BUILD/llvm-build/bin:$PATH"
export RUSTC_WRAPPER="/home/arc-runner/.cargo/bin/sccache"
export RUSTC_WRAPPER="/home/github-actions/.cargo/bin/sccache"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure /home/github-actions is persisted between invocations of the runner?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be ok, this is running in a docker image on my personal computer.

Copy link
Member Author

@segeljakt segeljakt Aug 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only thing that might change is the

/home/github-actions/actions-runner/Workspace/

directory

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

export SCCACHE_DIR="${PERSIST_DIR}/sccache"
export SCCACHE_CACHE_SIZE="20G"
export CARGO_INCREMENTAL="0"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:

env:
CARGO_TERM_COLOR: always
CCACHE_CONFIGPATH: /home/arc-runner/actions-runner/persist/ccache-config
PERSIST_DIR: /home/arc-runner/actions-runner/persist/
CCACHE_CONFIGPATH: /home/github-actions/actions-runner/persist/ccache-config
PERSIST_DIR: /home/github-actions/actions-runner/persist/

steps:

Expand Down
Loading