frustrating when you can only test on the CD job
This commit is contained in:
Jacob Heider 2024-06-17 23:28:00 -04:00
parent 6b09c73fa1
commit 36a4159594
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -17,7 +17,7 @@ build:
script:
# graalvm fails to understand our compiler environment
- run: |
if test "{{hw.platform}}" = "darwin"; then
if test "{{hw.platform}}" = "linux"; then
sed -i '/-H:Class=org.pkl.cli.Main/i\
,"--static"\
,"--native-compiler-path={{deps.llvm.org.prefix}}/bin/clang"\
@ -29,7 +29,7 @@ build:
if: <0.26.0
working-directory: pkl-cli
- run: |
if test "{{hw.platform}}" = "darwin"; then
if test "{{hw.platform}}" = "linux"; then
sed -i '/-H:Class=org.pkl.cli.Main/i\
add("--static")\
add("--native-compiler-path={{deps.llvm.org.prefix}}/bin/clang")\