Skip to content

Commit 76471ba

Browse files
Adding the WSL checker with gSoap
1 parent 114ca02 commit 76471ba

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: gsoap-wsdl-check
2+
run-name: "WSDL files syntax check with gSoap"
3+
4+
on:
5+
push:
6+
paths:
7+
- '**.wsdl'
8+
- '**.xsd'
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
gsoap-wsdl-check:
16+
strategy:
17+
fail-fast: true
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- name: Install missing software
21+
run: |
22+
sudo apt update && sudo apt install gcc g++ curl autoconf automake cmake bison flex libssl-dev zlib1g-dev make
23+
- name: Checkout tools repo
24+
uses: actions/checkout@v6
25+
with:
26+
repository: onvif/gsoap-wsdl-checker
27+
path: gsoap-wsdl-checker
28+
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
29+
- name: Get branch names.
30+
id: branch-names
31+
uses: tj-actions/branch-names@5250492686b253f06fa55861556d1027b067aeb5
32+
- name: Install gsoap
33+
run: |
34+
cd gsoap-wsdl-checker
35+
cmake CMakeLists.txt -DBRANCH=${{ steps.branch-names.outputs.current_branch }}
36+
make gsoap
37+
- name: Compile the WDSL files
38+
run: |
39+
cd gsoap-wsdl-checker
40+
make
41+

0 commit comments

Comments
 (0)