Skip to content

Commit

Permalink
[CI] Fix nightly build
Browse files Browse the repository at this point in the history
ghstack-source-id: 8bb580d61b7739d74313336b205d496b468d57de
Pull Request resolved: #1148
  • Loading branch information
vmoens committed Dec 19, 2024
1 parent d1a5734 commit 3c73a36
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
cancel-in-progress: true

env:
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809

jobs:
build-wheel-linux:
Expand All @@ -46,6 +42,10 @@ jobs:
["3.12", "cp312-cp312"],
]
cuda_support: [["", "cpu", "cpu"]]
env:
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809
container: pytorch/manylinux-${{ matrix.cuda_support[2] }}
steps:
- name: Checkout tensordict
Expand Down Expand Up @@ -90,6 +90,10 @@ jobs:
["3.12", "cp312-cp312"],
]
cuda_support: [["", "cpu", "cpu"]]
env:
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809
container: pytorch/manylinux-${{ matrix.cuda_support[2] }}
steps:
- name: Checkout tensordict
Expand Down Expand Up @@ -117,6 +121,10 @@ jobs:
if: github.repository_owner == 'pytorch'
needs: build-wheel-linux
runs-on: ubuntu-20.04
env:
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809
strategy:
matrix:
python_version: [
Expand Down Expand Up @@ -189,6 +197,10 @@ jobs:
["3.11", "3.11"],
["3.12", "3.12"],
]
env:
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809
steps:
- name: Setup Python
uses: actions/setup-python@v2
Expand Down Expand Up @@ -227,6 +239,10 @@ jobs:
["3.11", "3.11"],
["3.12", "3.12"],
]
env:
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809
steps:
- name: Setup Python
uses: actions/setup-python@v2
Expand Down Expand Up @@ -286,6 +302,10 @@ jobs:
["3.11", "3.11"],
["3.12", "3.12"],
]
env:
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809
steps:
- name: Checkout tensordict
uses: actions/checkout@v3
Expand Down

0 comments on commit 3c73a36

Please sign in to comment.