ci: use elb to build epm and el-install #27

Merged
will.anderson merged 1 commits from fix/ci-openssl-linker into dev 2026-05-07 02:37:51 +00:00
+12 -16
View File
@@ -70,29 +70,25 @@ jobs:
chmod +x dist/bin/elb chmod +x dist/bin/elb
echo "elb built" echo "elb built"
# Build epm binary (epm lives at repo root, not inside lang/) # Build epm binary using elb (epm lives at repo root, not inside lang/)
- name: Build epm - name: Build epm
run: | run: |
dist/platform/elc ../epm/src/epm.el > dist/epm.c ABS_ELB="$(pwd)/dist/bin/elb"
gcc -O2 \ ABS_ELC="$(pwd)/dist/platform/elc"
-I el-compiler/runtime \ ABS_RUNTIME="$(pwd)/el-compiler/runtime"
dist/epm.c \ ABS_OUT="$(pwd)/dist/bin"
el-compiler/runtime/el_runtime.c \ (cd ../epm && "$ABS_ELB" --elc="$ABS_ELC" --runtime="$ABS_RUNTIME" --out="$ABS_OUT")
-lcurl -lssl -lcrypto -lpthread -lm \
-o dist/bin/epm
chmod +x dist/bin/epm chmod +x dist/bin/epm
echo "epm built" echo "epm built"
# Build el-install binary # Build el-install binary using elb
- name: Build el-install - name: Build el-install
run: | run: |
dist/platform/elc tools/install/el-install.el > dist/el-install.c ABS_ELB="$(pwd)/dist/bin/elb"
gcc -O2 \ ABS_ELC="$(pwd)/dist/platform/elc"
-I el-compiler/runtime \ ABS_RUNTIME="$(pwd)/el-compiler/runtime"
dist/el-install.c \ ABS_OUT="$(pwd)/dist/bin"
el-compiler/runtime/el_runtime.c \ (cd tools/install && "$ABS_ELB" --elc="$ABS_ELC" --runtime="$ABS_RUNTIME" --out="$ABS_OUT")
-lcurl -lssl -lcrypto -lpthread -lm \
-o dist/bin/el-install
chmod +x dist/bin/el-install chmod +x dist/bin/el-install
echo "el-install built" echo "el-install built"