Skip to content

Commit 5d98e5d

Browse files
committed
fix: setup deps first
1 parent 0eb3878 commit 5d98e5d

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/precompiled_nif.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,20 +102,6 @@ jobs:
102102
cudnn_tarball: "https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-9.2.0.82_cuda12-archive.tar.xz"
103103
container: ${{ matrix.container }}
104104
steps:
105-
- name: checkout
106-
uses: actions/checkout@v4
107-
108-
- name: Install asdf and tools
109-
uses: asdf-vm/actions/install@v3
110-
111-
- name: cuda-toolkit
112-
uses: Jimver/cuda-toolkit@v0.2.16
113-
114-
- name: Setup Ninja
115-
uses: ashutoshvarma/setup-ninja@master
116-
with:
117-
version: 1.10.0
118-
119105
- name: Setup dependencies and env
120106
run: |
121107
apt-get update
@@ -129,6 +115,17 @@ jobs:
129115
echo "NX_IREE_SOURCE_DIR=$(elixir -e 'IO.puts(Path.absname(~s(${{env.NX_IREE_SOURCE_DIR}})))')" > $GITHUB_ENV
130116
echo "PKG_NAME=libnx_iree-linux-x86_64-nif-${{matrix.nif_version}}" >> $GITHUB_ENV
131117
118+
- name: checkout
119+
uses: actions/checkout@v4
120+
121+
- name: Install asdf and tools
122+
uses: asdf-vm/actions/install@v3
123+
124+
- name: Setup Ninja
125+
uses: ashutoshvarma/setup-ninja@master
126+
with:
127+
version: 1.10.0
128+
132129
- name: Download and install cudnn
133130
run: |
134131
curl -fSL "${{ matrix.cudnn_tarball }}" -o cudnn.tar.xz

0 commit comments

Comments
 (0)