Skip to content

Cleanups

Cleanups #2

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
language:
- java
- javascript
- python
- modernpython
- cpp
schema:
- CGMES_2.4.15_27JAN2020
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
- name: Generate code
run: |
pip install .
cimgen \
--outdir=output/${matrix.language}/${matrix.schema} \
--schemadir=cgmes_schema/${matrix.schema} \
--langdir=${matrix.language}
- name: Create artifact
uses: actions/upload-artifact@v4
with:
name: ${inputs.schema}-${{ matrix.language }}
path: output/${inputs.language}/${inputs.schema}