-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
57 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
diff --git a/.circleci/benchmark-config.yml b/.circleci/benchmark-config.yml | ||
index 2cacdf8..49174d0 100644 | ||
--- a/.circleci/benchmark-config.yml | ||
+++ b/.circleci/benchmark-config.yml | ||
@@ -47,6 +47,8 @@ jobs: | ||
"python3 -m pip install -U pip && \ | ||
python3 -m pip install spu && \ | ||
cd /home/admin/dev/ && \ | ||
+ python3 -m pip install --upgrade pip --index-url https://mirrors.sustech.edu.cn/pypi/web/simple && \ | ||
+ python3 -m pip config set global.index-url https://mirrors.sustech.edu.cn/pypi/web/simple && \ | ||
python3 -m pip install -r requirements-dev.txt && \ | ||
export PYTHONPATH="${PWD}:$PYTHONPATH" && \ | ||
bash .circleci/run-nn.sh" | tee benchmark_results.log | ||
diff --git a/.circleci/config.yml b/.circleci/config.yml | ||
index 54d0a09..20d9e59 100644 | ||
--- a/.circleci/config.yml | ||
+++ b/.circleci/config.yml | ||
@@ -38,7 +38,7 @@ parameters: | ||
default: false | ||
run-asan: | ||
type: boolean | ||
- default: false | ||
+ default: true | ||
|
||
# Define a job to be invoked later in a workflow. | ||
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs | ||
@@ -59,27 +59,6 @@ jobs: | ||
command: bash ../devtools/lint-whitespace.sh | ||
|
||
workflows: | ||
- unittest-workflow: | ||
- when: | ||
- and: | ||
- - not: << pipeline.parameters.run-asan >> | ||
- - not: << pipeline.parameters.run-schedule >> | ||
- - not: << pipeline.parameters.GHA_Action >> | ||
- - not: << pipeline.parameters.GHA_Meta >> | ||
- jobs: | ||
- - path-filtering/filter: | ||
- base-revision: main | ||
- config-path: .circleci/continue-config.yml | ||
- mapping: | | ||
- spu/.* build-and-run true | ||
- src/.* build-and-run true | ||
- exmaples/.* build-and-run true | ||
- bazel/.* build-and-run true | ||
- .bazelrc build-and-run true | ||
- requirements.txt build-and-run true | ||
- requirements-dev.txt build-and-run true | ||
- .circleci/continue-config.yml build-and-run true | ||
- - lint | ||
benchmark-workflow: | ||
when: << pipeline.parameters.run-schedule >> | ||
jobs: |