forked from d2l-ai/d2l-en
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "CI: Fix clear_cache commit feat for PRs" [skip ci]
Revert "CI: Enable clear cache feature using commit msg"
- Loading branch information
1 parent
c44475f
commit d1427f6
Showing
2 changed files
with
13 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ jobs: | |
build_torch: | ||
name: Build PyTorch | ||
if: "!contains(github.event.head_commit.message, '[skip torch]') && !contains(github.event.head_commit.message, '[skip frameworks]')" | ||
# needs: [sanity_check] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
|
@@ -32,7 +33,7 @@ jobs: | |
with: | ||
job-type: ci-gpu-torch | ||
job-name: D2L-Build-PyTorch | ||
command: chmod +x ./.github/workflow_scripts/build_pytorch.sh && ./.github/workflow_scripts/build_pytorch.sh "${{ env.REPO_NAME }}" "${{ env.TARGET_BRANCH }}" "${{ env.CLEAR_CACHE }}" | ||
command: chmod +x ./.github/workflow_scripts/build_pytorch.sh && ./.github/workflow_scripts/build_pytorch.sh '${{ env.REPO_NAME }}' '${{ env.TARGET_BRANCH }}' | ||
|
||
build_tf: | ||
name: Build Tensorflow | ||
|
@@ -48,7 +49,7 @@ jobs: | |
with: | ||
job-type: ci-gpu-tf | ||
job-name: D2L-Build-Tensorflow | ||
command: chmod +x ./.github/workflow_scripts/build_tf.sh && ./.github/workflow_scripts/build_tf.sh "${{ env.REPO_NAME }}" "${{ env.TARGET_BRANCH }}" "${{ env.CLEAR_CACHE }}" | ||
command: chmod +x ./.github/workflow_scripts/build_tf.sh && ./.github/workflow_scripts/build_tf.sh '${{ env.REPO_NAME }}' '${{ env.TARGET_BRANCH }}' | ||
|
||
build_jax: | ||
name: Build JAX | ||
|
@@ -64,7 +65,7 @@ jobs: | |
with: | ||
job-type: ci-gpu-jax | ||
job-name: D2L-Build-JAX | ||
command: chmod +x ./.github/workflow_scripts/build_jax.sh && ./.github/workflow_scripts/build_jax.sh "${{ env.REPO_NAME }}" "${{ env.TARGET_BRANCH }}" "${{ env.CLEAR_CACHE }}" | ||
command: chmod +x ./.github/workflow_scripts/build_jax.sh && ./.github/workflow_scripts/build_jax.sh '${{ env.REPO_NAME }}' '${{ env.TARGET_BRANCH }}' | ||
|
||
build_mxnet: | ||
name: Build MXNet | ||
|
@@ -80,7 +81,7 @@ jobs: | |
with: | ||
job-type: ci-gpu-mxnet | ||
job-name: D2L-Build-MXNet | ||
command: chmod +x ./.github/workflow_scripts/build_mxnet.sh && ./.github/workflow_scripts/build_mxnet.sh "${{ env.REPO_NAME }}" "${{ env.TARGET_BRANCH }}" "${{ env.CLEAR_CACHE }}" | ||
command: chmod +x ./.github/workflow_scripts/build_mxnet.sh && ./.github/workflow_scripts/build_mxnet.sh '${{ env.REPO_NAME }}' '${{ env.TARGET_BRANCH }}' | ||
|
||
build_and_deploy: | ||
name: Build Website/PDF & Publish Preview/Release | ||
|
@@ -103,7 +104,7 @@ jobs: | |
with: | ||
job-type: ci-cpu | ||
job-name: D2L-Builder | ||
command: chmod +x ./.github/workflow_scripts/build_and_deploy.sh ./.github/workflow_scripts/build_html.sh && ./.github/workflow_scripts/build_and_deploy.sh "${{ env.REPO_NAME }}" "${{ env.TARGET_BRANCH }}" "${{ env.JOB_NAME }}" "${{ env.LANG }}" | ||
command: chmod +x ./.github/workflow_scripts/build_and_deploy.sh ./.github/workflow_scripts/build_html.sh && ./.github/workflow_scripts/build_and_deploy.sh '${{ env.REPO_NAME }}' '${{ env.TARGET_BRANCH }}' '${{ env.JOB_NAME }}' '${{ env.LANG }}' | ||
- name: Comment on PR | ||
if: ${{ github.event_name == 'pull_request_target' }} | ||
uses: peter-evans/[email protected] | ||
|