Skip to content

Commit 82b14d6

Browse files
committed
Use only one checkout.
1 parent 46d8c19 commit 82b14d6

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
AF_VERSION: "3.10.0"
1515
AF_INSTALLER: "ArrayFire-v3.10.0_Linux_x86_64.sh"
1616
AF_URL: "https://arrayfire.s3.amazonaws.com/3.10.0/ArrayFire-v3.10.0_Linux_x86_64.sh"
17-
AF_PREFIX: "/usr/local"
17+
AF_PREFIX: "/opt/arrayfire"
1818

1919
steps:
2020
- uses: actions/checkout@v4
@@ -23,8 +23,6 @@ jobs:
2323
nix_path: nixpkgs=channel:nixpkgs-unstable
2424
- run: nix-channel --update
2525

26-
- uses: actions/checkout@v4
27-
2826
- name: Nix channel update
2927
run: nix-channel --update
3028

@@ -43,7 +41,6 @@ jobs:
4341
run: cabal update
4442

4543
- name: Build
46-
run: nix-shell -p ghc -p cabal-install --run 'cabal build'
44+
run: nix-shell -p ghc -p cabal-install --keep LD_LIBRARY_PATH --run 'cabal build'
4745
env:
48-
PATH: "/usr/local/bin:${{ env.PATH }}"
49-
LD_LIBRARY_PATH: "/usr/local/lib"
46+
LD_LIBRARY_PATH: "/opt/arrayfire/lib:/opt/arrayfire/lib64"

0 commit comments

Comments
 (0)