Skip to content

Commit d15756c

Browse files
committed
add ci test on alpine
1 parent bf319f7 commit d15756c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build-test.yml

+24
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,27 @@ jobs:
9494
./configure --with-v8js=/opt/v8/self-built LDFLAGS="-lstdc++" CPPFLAGS="-DV8_COMPRESS_POINTERS -DV8_ENABLE_SANDBOX"
9595
make
9696
make test
97+
98+
alpine:
99+
runs-on: ubuntu-latest
100+
101+
steps:
102+
- name: Checkout code
103+
uses: actions/checkout@v2
104+
105+
- name: Setup latest Alpine Linux
106+
uses: jirutka/setup-alpine@v1
107+
108+
- name: Install dependencies
109+
run: |
110+
cat /etc/alpine-release
111+
apk add php83-dev nodejs-dev g++ make
112+
shell: alpine.sh --root {0}
113+
114+
- name: Run script inside Alpine chroot as the default user (unprivileged)
115+
run: |
116+
phpize
117+
./configure
118+
make
119+
make test
120+
shell: alpine.sh {0}

0 commit comments

Comments
 (0)