Skip to content

Commit a99f35a

Browse files
committed
Update build pipeline
1 parent d2b100d commit a99f35a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-dependencies.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,22 @@ jobs:
3636
cd libcob
3737
emmake make INCLUDES=-I${HOME}/opt/include
3838
make install
39+
40+
- name: Combine libraries
41+
run : |
42+
mkdir -p publish
43+
cd publish
44+
ar -x ${HOME}/opt/lib/libcob.a
45+
ar -x ${HOME}/opt/lib/libgmp.a
46+
wasm-ld *.o -o libcob.so --relocatable --no-entry
47+
rm *.a
48+
cp ./gnucobol-3.0-rc1/libcob.h .
3949
4050
- name: Release dependencies
4151
uses: svenstaro/upload-release-action@v2
4252
with:
4353
repo_token: ${{ secrets.GITHUB_TOKEN }}
44-
file: /home/runner/opt/**/*
54+
file: publish/*
4555
file_glob: true
4656
tag: 1.0
4757
overwrite: true

0 commit comments

Comments
 (0)