Skip to content

Commit a1265b2

Browse files
committed
chore(GHA): Split cmd => (Build the binaries, Test the binaries)
1 parent 18e1d50 commit a1265b2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/static-builds.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
steps:
1616
- name: Check out the repo
1717
uses: actions/checkout@v2
18-
- name: Generate the binaries
18+
- name: Build the binaries
1919
run: |
2020
./scripts/static-build.sh
21+
- name: Test the binaries
22+
run: |
2123
bin=(./learn-ocaml-client ./learn-ocaml-server ./learn-ocaml)
2224
file "${bin[@]}"
2325
ldd "${bin[@]}"
@@ -56,6 +58,8 @@ jobs:
5658
- name: Build the binaries
5759
run: |
5860
opam exec -- make LINKING_MODE=static
61+
- name: Test the binaries
62+
run: |
5963
bin=(./learn-ocaml-client ./learn-ocaml-server ./learn-ocaml)
6064
dir="_build/install/default/bin"
6165
file "$dir"/*

0 commit comments

Comments
 (0)