Repository navigation
50 lines (42 loc) · 1.61 KB
/
Copy pathsyson-artifacts.yml
File metadata and controls
50 lines (42 loc) · 1.61 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: SysON plugin against real artifacts
on:
workflow_dispatch:
jobs:
syson-artifacts:
name: SysON plugin against real artifacts
runs-on: ubuntu-latest
permissions:
contents: read
timeout-minutes: 20
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_PACKAGES_READ_TOKEN }}
steps:
- name: Check out repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Build the service binary
run: make build-grpc
# SysON 2026.9.2 runs on 21; the module compiles at release 17.
- name: Set up Java
uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Install the client dependency
run: mvn -B -q -f client/java/pom.xml install -DskipTests -Dmaven.javadoc.skip=true
- name: Build against the real SysON artifacts
run: mvn -B -s editors/syson/settings.xml -f editors/syson/pom.xml -Psyson-artifacts -P '!stubs' install -Dopensysml.requireService=true
- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '24'
cache: npm
cache-dependency-path: editors/syson/frontend/package-lock.json
- name: Build against the real Sirius packages
working-directory: editors/syson/frontend
run: |
npm ci --ignore-scripts
cp .npmrc.example .npmrc
npm run install:syson
npm run build:syson