Skip to content

Commit

Permalink
[ci] try to fix docs update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yangli committed Oct 2, 2022
1 parent ff0cce6 commit 45229ae
Show file tree
Hide file tree
Showing 6 changed files with 375 additions and 18 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '40 2 * * 4'

# triggers the workflow every day at 5:30 and 17:30 UTC:
- cron: '30 5,17 * * *'
jobs:
analyze:
name: Analyze
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
python-version: "3.10"

- name: Upgrade pip
run: |
# pip install --constraint=.github/workflows/constraints.txt pip
pip --version
pip install pip
pip --version
- name: Upgrade pip in virtual environments
shell: python
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Install dependencies
run: |
python -V
brew install doxygen
brew install doxygen portaudio
pip install -r documentation/requirements.txt
- name: Build
Expand Down
2 changes: 2 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ version: 2

build:
os: "ubuntu-20.04"
apt_packages:
- portaudio19-dev
tools:
python: "3.10"

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![Ubuntu](https://github.com/ylab-hi/BINARY/actions/workflows/linux.yml/badge.svg)](https://github.com/ylab-hi/BINARY/actions/workflows/linux.yml)
[![Style](https://github.com/ylab-hi/BINARY/actions/workflows/style.yml/badge.svg)](https://github.com/ylab-hi/BINARY/actions/workflows/style.yml)
[![Documentation Status](https://readthedocs.org/projects/binary/badge/?version=latest)](https://binary.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/ylab-hi/BINARY/branch/main/graph/badge.svg?token=RWC5iqNPVi)](https://codecov.io/gh/ylab-hi/BINARY)
[![c++20](https://img.shields.io/badge/C++-c%2B%2B20-green)](https://en.cppreference.com/w/cpp/20)
[![CodeQL](https://github.com/ylab-hi/BINARY/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/ylab-hi/BINARY/actions/workflows/codeql-analysis.yml)
Expand Down
4 changes: 3 additions & 1 deletion documentation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ message(STATUS "Building BinaryDocs")

# ---- Dependencies ----

include(../cmake/CPM.cmake)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")

include(CPM)

# look for Doxygen package
find_package(Doxygen REQUIRED)
Expand Down
Loading

0 comments on commit 45229ae

Please sign in to comment.