Skip to content

Update GitHub Actions to work on newer OS images #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading