This repository has been archived on 2022-08-10. You can view files and clone it, but cannot push or open issues or pull requests.
chez-openbsd/.github/workflows/build.sh
2022-07-29 15:12:07 +02:00

13 lines
448 B
Bash
Executable file

#!/bin/bash
set -e -o pipefail
./configure -m="$TARGET_MACHINE"
make -j $(getconf _NPROCESSORS_ONLN)
case "$TARGET_MACHINE" in
*a6nt)
curl -Ls https://github.com/burgerrg/win-iconv/releases/download/v0.0.9/iconv-x64.dll > "$TARGET_MACHINE"/bin/"$TARGET_MACHINE"/iconv.dll
;;
*i3nt)
curl -Ls https://github.com/burgerrg/win-iconv/releases/download/v0.0.9/iconv-x86.dll > "$TARGET_MACHINE"/bin/"$TARGET_MACHINE"/iconv.dll
;;
esac