Skip to content

Commit

Permalink
fix: env
Browse files Browse the repository at this point in the history
  • Loading branch information
polvalente committed Jul 14, 2024
1 parent b3dfc8e commit 2478232
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/precompiled_nif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,15 @@ jobs:
- name: Install asdf and tools
uses: asdf-vm/actions/install@v3

- name: Setup dependencies
- name: Setup dependencies and env
run: |
brew install ninja
mix local.hex --force
mix local.rebar --force
echo "BUILD_CACHE=$(realpath ${{env.BUILD_CACHE}})" > $GITHUB_ENV
echo "IREE_DIR=$(realpath ${{env.IREE_DIR}})" > $GITHUB_ENV
echo $IREE_DIR
echo $BUILD_CACHE
- name: Cache mix dependencies
id: cache-mix-deps
Expand All @@ -58,11 +62,8 @@ jobs:
${{ env.IREE_DIR }}
- name: Clone IREE
if: steps.cache-iree-dir.outputs.cache-hit != 'true'
run: |
BUILD_CACHE=$(realpath ${{env.BUILD_CACHE}}) \
IREE_DIR=$(realpath ${{env.IREE_DIR}}) \
make clone_iree
run: make clone_iree
- name: Compile NIF
run: |
NX_IREE_SO=./libnx_iree.so mix compile
ls ./
mix compile
ls -l ./cache

0 comments on commit 2478232

Please sign in to comment.