Skip to content

Commit

Permalink
update CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
melaasar committed Nov 11, 2024
1 parent dd48906 commit a48dde4
Show file tree
Hide file tree
Showing 32 changed files with 14 additions and 232 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.10'

- name: Install Bikeshed
run: pip install bikeshed==3.13.0
run: pip install bikeshed==4.2.7

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand All @@ -38,7 +38,13 @@ jobs:
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

- name: Build with Gradle Wrapper
run: ./gradlew build generateDocs
run: ./gradlew build

- name: Generate Docs with Gradle Wrapper
run: ./gradlew ecoreToBikeshed

- name: Bikeshed
run: bikeshed spec io.opencaesar.oml.specification/build/bikeshed/index.bs

- name: Set up Maven
uses: stCarolas/setup-maven@v5
Expand All @@ -54,7 +60,7 @@ jobs:
path: io.opencaesar.oml.specification/build/bikeshed

deploy:

needs: build
runs-on: ubuntu-latest
permissions:
Expand All @@ -63,12 +69,12 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy Spec
id: deployment
uses: actions/deploy-pages@v1

dependency-submission:

runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ This document describes the syntax, notation, semantics, and API of the Ontologi

- The section [Textual BNF](#Textual-BNF) describes the BNF grammar of OML. This can help readers understand textual OML models and create them using an OML text editor.

- The section [Grahical BNF](#Graphical-BNF) describes the graphical BNF grammar of OML. This can help readers understand standard OML diagrams.

- The section [Abstract Syntax](#Abstract-Syntax) describes the concepts that make up the OML syntax, along with their attibutes and relations. Hyperlinks are provided to help the reader navigate the concepts.

- The section [Public API](#Public-API) describes the OML public API that can be used to create tools that read or write OML models. Some of the public API maps directly from the corresponding OML abstract syntax. Other API adds useful functions that make working with OML easier programmatically.
Expand Down
25 changes: 0 additions & 25 deletions io.opencaesar.oml.specification/src/main/graphical-syntax.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit a48dde4

Please sign in to comment.