Skip to content

Commit

Permalink
remove old CIM version builds
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Mirz <markus.mirz@rwth-aachen.de>
  • Loading branch information
m-mirz committed Mar 25, 2024
1 parent bf068c0 commit 648381d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 163 deletions.
66 changes: 0 additions & 66 deletions .github/workflows/build-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,70 +2,8 @@ name: build-doc

on: workflow_dispatch


jobs:

build-doc-IEC61970_16v29a:
runs-on: ubuntu-latest
env:
USE_CIM_VERSION: IEC61970_16v29a
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Doxygen
run: sudo apt-get install doxygen
shell: bash
- name: Install Graphviz
run: sudo apt-get install graphviz
shell: bash
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}

- name: Configure CMake and compile
shell: bash
working-directory: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}/
run: |
cd ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}
cmake ../.. -DUSE_CIM_VERSION=${{env.USE_CIM_VERSION}}
make doc
- uses: actions/upload-artifact@v3
with:
name: doc_${{env.USE_CIM_VERSION}}
path: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}/doc/html
retention-days: 90



build-doc-IEC61970_17v07:
runs-on: ubuntu-latest
env:
USE_CIM_VERSION: IEC61970_17v07
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Doxygen
run: sudo apt-get install doxygen
shell: bash
- name: Install Graphviz
run: sudo apt-get install graphviz
shell: bash
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}

- name: Configure CMake and compile
shell: bash
working-directory: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}/
run: |
cd ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}
cmake ../.. -DUSE_CIM_VERSION=${{env.USE_CIM_VERSION}}
make doc
- uses: actions/upload-artifact@v3
with:
name: doc_${{env.USE_CIM_VERSION}}
path: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}/doc/html

build-doc-IEC61970_16v29a_IEC61968_12v08:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -95,7 +33,6 @@ jobs:
name: doc_${{env.USE_CIM_VERSION}}
path: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}/doc/html


build-doc-CGMES_2-4-15_27JAN2020:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -124,6 +61,3 @@ jobs:
with:
name: doc_${{env.USE_CIM_VERSION}}
path: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}/doc/html



39 changes: 1 addition & 38 deletions .github/workflows/build-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: build-gh-pages


on: [push]
#on: workflow_dispatch

jobs:
build-gh-pages:

runs-on: ubuntu-latest
env:
USE_CIM_VERSION1: IEC61970_16v29a_IEC61968_12v08
USE_CIM_VERSION2: IEC61970_16v29a
USE_CIM_VERSION3: IEC61970_17v07
USE_CIM_VERSION4: CGMES_2.4.15_27JAN2020
steps:
- uses: actions/checkout@v3
Expand All @@ -37,42 +33,9 @@ jobs:
run: |
mkdir -p ./copy_files/docs
cp -r ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION1}}/doc/html ./copy_files/docs/${{env.USE_CIM_VERSION1}}
- name: CIM2 Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION2}}

- name: CIM2 Configure CMake and compile
shell: bash
working-directory: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION2}}/
run: |
cd ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION2}}
cmake ../.. -DUSE_CIM_VERSION=${{env.USE_CIM_VERSION2}}
make doc
- name: CIM2 Copy
run: |
mkdir -p ./copy_files/docs
cp -r ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION2}}/doc/html ./copy_files/docs/${{env.USE_CIM_VERSION2}}
- name: CIM3 Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION3}}

- name: CIM3 Configure CMake and compile
shell: bash
working-directory: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION3}}/
run: |
cd ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION3}}
cmake ../.. -DUSE_CIM_VERSION=${{env.USE_CIM_VERSION3}}
make doc
- name: CIM3 Copy
run: |
mkdir -p ./copy_files/docs
cp -r ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION3}}/doc/html ./copy_files/docs/${{env.USE_CIM_VERSION3}}

- name: CIM4 Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION4}}

- name: CIM4 Configure CMake and compile
shell: bash
working-directory: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION4}}/
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/build-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,61 +3,7 @@ name: build-src
#on: [push]
on: workflow_dispatch


jobs:

build-src-IEC61970_16v29a:
runs-on: ubuntu-latest
env:
USE_CIM_VERSION: IEC61970_16v29a
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Doxygen
run: sudo apt-get install doxygen
shell: bash
- name: Install Graphviz
run: sudo apt-get install graphviz
shell: bash
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}

- name: Configure CMake and compile
shell: bash
working-directory: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}/
run: |
cd ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}
cmake ../.. -DUSE_CIM_VERSION=${{env.USE_CIM_VERSION}}
make -j4
build-src-IEC61970_17v07:
runs-on: ubuntu-latest
env:
USE_CIM_VERSION: IEC61970_17v07
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Doxygen
run: sudo apt-get install doxygen
shell: bash
- name: Install Graphviz
run: sudo apt-get install graphviz
shell: bash
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}

- name: Configure CMake and compile
shell: bash
working-directory: ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}/
run: |
cd ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}
cmake ../.. -DUSE_CIM_VERSION=${{env.USE_CIM_VERSION}}
make -j4
build-src-IEC61970_16v29a_IEC61968_12v08:
runs-on: ubuntu-latest
env:
Expand All @@ -83,10 +29,8 @@ jobs:
cmake ../.. -DUSE_CIM_VERSION=${{env.USE_CIM_VERSION}}
make -j4
build-src-CGMES_2-4-15_27JAN2020:
runs-on: ubuntu-latest

env:
USE_CIM_VERSION: CGMES_2.4.15_27JAN2020
steps:
Expand All @@ -109,4 +53,3 @@ jobs:
cd ${{runner.workspace}}/libcimpp/build/${{env.USE_CIM_VERSION}}
cmake ../.. -DUSE_CIM_VERSION=${{env.USE_CIM_VERSION}}
make -j4
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ It is part of the CIM++ project. More on CIM++ can be found [here](http://rdcu.b

Supported CIM / CGMES versions:
- [CGMES_2.4.15_27JAN2020](https://sogno-platform.github.io/libcimpp/CGMES_2.4.15_27JAN2020/annotated.html)
- [IEC61970 16v29a](https://sogno-platform.github.io/libcimpp/IEC61970_16v29a/annotated.html)
- [IEC61970_16v29a_IEC61968_12v08](https://sogno-platform.github.io/libcimpp/IEC61970_16v29a_IEC61968_12v08/annotated.html)
- [IEC61970_17v07](https://sogno-platform.github.io/libcimpp/IEC61970_17v07/annotated.html)

## General information
limcimpp uses [arabica](http://www.jezuk.co.uk/cgi-bin/view/arabica) as cross platform wrapper around one of the XML parsers listed in the dependencies (see below).
Expand Down

0 comments on commit 648381d

Please sign in to comment.