Skip to content

Commit

Permalink
Script for automation
Browse files Browse the repository at this point in the history
  • Loading branch information
intoinside committed Apr 28, 2024
1 parent 348f0b5 commit 4d6c9e5
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Java Gradle CircleCI 2.0 configuration file
version: 2
jobs:
build:
branches:
only:
- develop
- master
docker:
- image: maciejmalecki/c64libci:0.1.4

working_directory: ~/repo

environment:
JVM_OPTS: -Xms256m -Xmx768m
TERM: dumb

steps:
- checkout
- run: ./gradlew
42 changes: 42 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Doxygen Action

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Convert doxygen liked version
uses: actions/setup-python@v4
with:
python-version: '3.10'
- run:
python KickAssemblerToDoxygen.py ./lib/

- name: Doxygen Action
uses: mattnotmitt/doxygen-action@v1.1.0
with:
# Path to Doxyfile
doxyfile-path: "./Doxyfile"
# Working directory
working-directory: "."

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Default Doxyfile build documentation to html directory.
# Change the directory if changes in Doxyfile
publish_dir: ./html

0 comments on commit 4d6c9e5

Please sign in to comment.