Skip to content

Commit

Permalink
fix github action; remove macos build; style change
Browse files Browse the repository at this point in the history
  • Loading branch information
luk036 committed Jul 21, 2021
1 parent fa94ea5 commit 26f08a0
Show file tree
Hide file tree
Showing 28 changed files with 2,548 additions and 3,034 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
build:
name: Build and publish documentation
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

Expand All @@ -20,9 +20,17 @@ jobs:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}

- name: Before Install
run: |
sudo apt-get install g++-10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 90
- name: Install dependencies
run: sudo apt-get install libboost-dev

- name: Install dependencies
run: |
brew install doxygen boost
sudo apt-get install doxygen
pip3 install jinja2 Pygments
- name: Build
Expand Down
File renamed without changes.
13 changes: 10 additions & 3 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
build:
runs-on: macos-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -25,10 +25,17 @@ jobs:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}

- name: Before Install
run: |
sudo apt-get install g++-10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 90
- name: Install dependencies
run: sudo apt-get install libboost-dev

- name: Install format dependencies
run: |
brew install boost
brew install clang-format
sudo apt-get install clang-format
pip3 install cmake_format==0.6.11 pyyaml
- name: configure
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
conda list
conda config --show-sources
conda config --show
conda install -c conda-forge cmake boost
conda install -c conda-forge cmake boost=1.74
- name: configure
run: cmake -Stest -Bbuild
Expand Down
Loading

0 comments on commit 26f08a0

Please sign in to comment.