Skip to content

Commit 24d1759

Browse files
committed
Create shared libraries in CI
Add the `make all` or `bmake all` step for all CI fixtures, since the standard `make regress` will not automatically build the shared libraries. This makes sure that shared library building succeeds.
1 parent d549e43 commit 24d1759

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/makefile.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
cat /etc/os-release
1515
./configure
1616
- name: Build and test
17-
run: bmake regress
17+
run: |
18+
bmake all
19+
bmake regress
1820
- name: Memory check
1921
run: bmake valgrind
2022
ubuntu_fsanitize:
@@ -33,7 +35,9 @@ jobs:
3335
echo "CFLAGS += -fsanitize=undefined,address" >> Makefile.configure
3436
echo "LDFLAGS += -fsanitize=undefined,address" >> Makefile.configure
3537
- name: Build and test
36-
run: bmake regress
38+
run: |
39+
bmake all
40+
bmake regress
3741
ubuntu_libbsd:
3842
runs-on: ubuntu-latest
3943
steps:
@@ -47,7 +51,9 @@ jobs:
4751
cat /etc/os-release
4852
CFLAGS=$(pkg-config --cflags libbsd-overlay) ./configure LDFLAGS=$(pkg-config --libs libbsd-overlay)
4953
- name: Build and test
50-
run: bmake regress
54+
run: |
55+
bmake all
56+
bmake regress
5157
macos_standard:
5258
runs-on: macos-latest
5359
steps:
@@ -57,7 +63,9 @@ jobs:
5763
- name: Configure
5864
run: ./configure
5965
- name: Build and test
60-
run: bmake regress
66+
run: |
67+
bmake all
68+
bmake regress
6169
alpine_x86_64:
6270
runs-on: ubuntu-latest
6371
steps:
@@ -77,6 +85,7 @@ jobs:
7785
run: |
7886
cat /etc/alpine-release
7987
./configure
88+
bmake all
8089
bmake regress
8190
shell: alpine-x86_64.sh {0}
8291
alpine_aarch64:
@@ -99,6 +108,7 @@ jobs:
99108
run: |
100109
cat /etc/alpine-release
101110
./configure
111+
bmake all
102112
bmake regress
103113
shell: alpine-aarch64.sh {0}
104114
alpine_armv7:
@@ -121,6 +131,7 @@ jobs:
121131
run: |
122132
cat /etc/alpine-release
123133
./configure
134+
bmake all
124135
bmake regress
125136
shell: alpine-armv7.sh {0}
126137
alpine_ppc64le:
@@ -143,6 +154,7 @@ jobs:
143154
run: |
144155
cat /etc/alpine-release
145156
./configure
157+
bmake all
146158
bmake regress
147159
shell: alpine-ppc64le.sh {0}
148160
alpine_s390x:
@@ -165,6 +177,7 @@ jobs:
165177
run: |
166178
cat /etc/alpine-release
167179
./configure
180+
bmake all
168181
bmake regress
169182
shell: alpine-s390x.sh {0}
170183
freebsd:

0 commit comments

Comments
 (0)