Skip to content

Commit 4d9b235

Browse files
committed
[ ci ][ new ] Packing data files
1 parent e384bfd commit 4d9b235

File tree

1 file changed

+4
-25
lines changed

1 file changed

+4
-25
lines changed

.github/workflows/test-mac.yaml

+4-25
Original file line numberDiff line numberDiff line change
@@ -75,35 +75,14 @@ jobs:
7575
id: install
7676
run: |
7777
stack install
78-
cp ~/.local/bin/als .
79-
80-
# - name: 📦 Some linker shit
81-
# id: link
82-
# env:
83-
# ICU_VER: '69'
84-
# ICU_DIR: '/usr/local/opt/icu4c/lib'
85-
# run: |
86-
# # Change the path to the dynamic library icu4c to the run-time search path:
87-
# #
88-
# # 1. the same directory of executable, i.e. @executable_path
89-
# # 2. @executable_path/../lib
90-
# # 3. the default location of system-wide icu4c installed by homebrew, ie. /usr/local/opt/icu4c/lib
91-
# #
92-
# ls ${ICU_DIR}
93-
# mkdir lib
94-
# cp ${ICU_DIR}/libicuuc.${ICU_VER}.dylib ${ICU_DIR}/libicui18n.${ICU_VER}.dylib ${ICU_DIR}/libicudata.${ICU_VER}.dylib lib
95-
# ls lib
96-
# install_name_tool -change ${ICU_DIR}/libicuuc.${ICU_VER}.dylib @rpath/libicuuc.${ICU_VER}.dylib als
97-
# install_name_tool -change ${ICU_DIR}/libicui18n.${ICU_VER}.dylib @rpath/libicui18n.${ICU_VER}.dylib als
98-
# install_name_tool -add_rpath @executable_path -add_rpath @executable_path/../lib -add_rpath ${ICU_DIR} als
99-
# otool -L als
100-
# file als
10178
10279
- name: 📦 Compress files
10380
id: zip
10481
run: |
105-
ls
106-
ls $(stack path --snapshot-install-root)
82+
mkdir als
83+
cp ~/.local/bin/als als/
84+
find $(stack path --snapshot-install-root)/share -type d -name "Agda-*"
85+
cp -r $(find $(stack path --snapshot-install-root)/share -type d -name "Agda-*") als/data
10786
zip -r als als
10887
mv als.zip als-macos.zip
10988

0 commit comments

Comments
 (0)