File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ env :
14+ AF_VERSION : " 3.9.0"
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - name : Install ArrayFire
20+ run : |
21+ sudo apt-get install arrayfire -y
22+
23+ - name : Set up Haskell
24+ uses : haskell-actions/setup@v2
25+ with :
26+ ghc-version : " 9.12"
27+ cabal-version : " latest"
28+
29+ - name : Cache cabal store
30+ uses : actions/cache@v4
31+ with :
32+ path : |
33+ ~/.cabal/packages
34+ ~/.cabal/store
35+ dist-newstyle
36+ key : ${{ runner.os }}-cabal-${{ hashFiles('**/*.cabal', '**/cabal.project') }}
37+ restore-keys : |
38+ ${{ runner.os }}-cabal-
39+
40+ - name : Update cabal package list
41+ run : cabal update
42+
43+ - name : Build
44+ run : cabal build all
45+ env :
46+ LD_LIBRARY_PATH : /opt/arrayfire/lib64
You can’t perform that action at this time.
0 commit comments