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