Skip to content

Commit

Permalink
fix: setup deps first
Browse files Browse the repository at this point in the history
  • Loading branch information
polvalente committed Jul 15, 2024
1 parent 0eb3878 commit 5d98e5d
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/precompiled_nif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,6 @@ jobs:
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"
container: ${{ matrix.container }}
steps:
- name: checkout
uses: actions/checkout@v4

- name: Install asdf and tools
uses: asdf-vm/actions/install@v3

- name: cuda-toolkit
uses: Jimver/[email protected]

- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
with:
version: 1.10.0

- name: Setup dependencies and env
run: |
apt-get update
Expand All @@ -129,6 +115,17 @@ jobs:
echo "NX_IREE_SOURCE_DIR=$(elixir -e 'IO.puts(Path.absname(~s(${{env.NX_IREE_SOURCE_DIR}})))')" > $GITHUB_ENV
echo "PKG_NAME=libnx_iree-linux-x86_64-nif-${{matrix.nif_version}}" >> $GITHUB_ENV
- name: checkout
uses: actions/checkout@v4

- name: Install asdf and tools
uses: asdf-vm/actions/install@v3

- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
with:
version: 1.10.0

- name: Download and install cudnn
run: |
curl -fSL "${{ matrix.cudnn_tarball }}" -o cudnn.tar.xz
Expand Down

0 comments on commit 5d98e5d

Please sign in to comment.