Skip to content

Commit baf7008

Browse files
committed
[ change ] Specify Agda_datadir
1 parent 28e7f8e commit baf7008

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/test-mac.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,15 @@ jobs:
5454
# brew install gnu-tar; curl -sL https://get.haskellstack.org/stable/osx-x86_64.tar.gz | gtar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack
5555
if [[ ! -x ~/.local/bin/stack ]]; then brew install gnu-tar; curl -sL https://get.haskellstack.org/stable/osx-x86_64.tar.gz | gtar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
5656
stack --version
57+
5758
- name: ⏬ Install GHC
5859
run: |
5960
stack setup --install-ghc
6061
62+
- name: 📦 Specify `Agda_datadir`
63+
run: |
64+
export Agda_datadir=$PWD/data
65+
6166
- name: ⏬ Install haskell deps
6267
run: |
6368
stack build --only-dependencies
@@ -66,14 +71,10 @@ jobs:
6671
run: |
6772
stack test
6873
69-
70-
# artifacts:
71-
72-
- name: 📦 Install the executable
74+
- name: 📦 Install
7375
id: install
7476
run: |
7577
stack install
76-
stack path
7778
cp ~/.local/bin/als .
7879
7980
# - name: 📦 Some linker shit
@@ -98,9 +99,11 @@ jobs:
9899
# otool -L als
99100
# file als
100101

101-
- name: 📦 Zip the executable
102+
- name: 📦 Compress files
102103
id: zip
103104
run: |
105+
ls
106+
ls $(stack path --snapshot-install-root)
104107
zip -r als als
105108
mv als.zip als-macos.zip
106109

0 commit comments

Comments
 (0)