-
Notifications
You must be signed in to change notification settings - Fork 20
33 lines (31 loc) · 1001 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_call:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build the Docker images
run: docker compose build
- name: Build shacl2flink
run: |
sudo apt install sqlite3 sqlite3-pcre
cd semantic-model/shacl2flink && make setup && make lint test build test-kms
- name: Build Dataservice
run: |
cd semantic-model/dataservice && make setup && make lint test
- name: Build datamodel tools
run: |
cd semantic-model/datamodel/tools && make setup && make lint test
- name: Build opcua tools
run: |
cd semantic-model/opcua && make setup && make lint test
- name: Build iff-agent
run: |
(cd NgsildAgent/config && cp config.json.template config.json)
cd NgsildAgent && npm install && npm run lint && npm run test && npm audit --production --audit-level high