Skip to content

Commit

Permalink
use pip on ubuntu for installing format dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLartians committed Dec 22, 2024
1 parent 15b0454 commit cdf9199
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ on:
branches:
- master

env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules

jobs:
build:

runs-on: macos-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install format dependencies
run: pip3 install cmake_format==0.6.11 pyyaml
- name: Install format dependencies
run: pip3 install cmake_format==0.6.11 pyyaml

- name: Check source style
run: cmake-format --check ./CMakeLists.txt ./cmake-format.cmake
- name: Check source style
run: cmake-format --check ./CMakeLists.txt ./cmake-format.cmake
5 changes: 2 additions & 3 deletions .github/workflows/unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build:

runs-on: macos-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -25,8 +25,7 @@ jobs:
- name: Install format dependencies
run: |
brew install clang-format
pip3 install cmake_format==0.6.11 pyyaml
pip3 install clang-format==14.0.6 cmake_format==0.6.11 pyyaml
- name: Configure
run: cmake -Htest -Bbuild
Expand Down

0 comments on commit cdf9199

Please # to comment.