Skip to content

Commit 26f08a0

Browse files
committed
fix github action; remove macos build; style change
1 parent fa94ea5 commit 26f08a0

28 files changed

+2548
-3034
lines changed

Diff for: .github/workflows/documentation.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
jobs:
1212
build:
1313
name: Build and publish documentation
14-
runs-on: macos-latest
14+
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
1717

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

23+
- name: Before Install
24+
run: |
25+
sudo apt-get install g++-10
26+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 90
27+
28+
- name: Install dependencies
29+
run: sudo apt-get install libboost-dev
30+
2331
- name: Install dependencies
2432
run: |
25-
brew install doxygen boost
33+
sudo apt-get install doxygen
2634
pip3 install jinja2 Pygments
2735
2836
- name: Build
File renamed without changes.

Diff for: .github/workflows/style.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515

1616
jobs:
1717
build:
18-
runs-on: macos-latest
18+
runs-on: ubuntu-latest
1919

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

28+
- name: Before Install
29+
run: |
30+
sudo apt-get install g++-10
31+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 90
32+
33+
- name: Install dependencies
34+
run: sudo apt-get install libboost-dev
35+
2836
- name: Install format dependencies
2937
run: |
30-
brew install boost
31-
brew install clang-format
38+
sudo apt-get install clang-format
3239
pip3 install cmake_format==0.6.11 pyyaml
3340
3441
- name: configure

Diff for: .github/workflows/windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
conda list
4040
conda config --show-sources
4141
conda config --show
42-
conda install -c conda-forge cmake boost
42+
conda install -c conda-forge cmake boost=1.74
4343
4444
- name: configure
4545
run: cmake -Stest -Bbuild

0 commit comments

Comments
 (0)