-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove unnecessary comments from github action yaml
- Loading branch information
1 parent
cfa4e76
commit ba4c19b
Showing
1 changed file
with
2 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
# Adapted from: https://github.com/satu0king/Github-Documentation-With-Doxygen | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: flare | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the master branch | ||
on: | ||
push: | ||
branches: | ||
|
@@ -15,9 +10,7 @@ on: | |
schedule: | ||
- cron: '0 0 * * 0' | ||
|
||
# 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: | ||
strategy: | ||
matrix: | ||
|
@@ -26,17 +19,14 @@ jobs: | |
python-version: ["3.7", "3.8"] | ||
name: "(OpenMP, Lapack, Python) =" | ||
|
||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
BUILD_DIR: build_${{ matrix.omp }}_${{ matrix.lapack }} | ||
CC: gcc-9 | ||
CXX: g++-9 | ||
|
||
# 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: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
|
@@ -139,10 +129,8 @@ jobs: | |
- name: Run Doxygen | ||
uses: mattnotmitt/[email protected] | ||
with: | ||
# Path to Doxyfile | ||
doxyfile-path: "./Doxyfile" # default is ./Doxyfile | ||
# Working directory | ||
working-directory: "./docs" # default is . | ||
doxyfile-path: "./Doxyfile" | ||
working-directory: "./docs" | ||
|
||
- name: Run Sphinx | ||
run: | | ||
|
@@ -156,7 +144,5 @@ jobs: | |
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: ./docs/build/html | ||
if: github.event_name == 'pull_request' && matrix.lapack == 'on' && matrix.omp == 'on' |