Skip to content

Commit

Permalink
Update some workflows to use Ubuntu 24.04 in order to remove manual C…
Browse files Browse the repository at this point in the history
…Make installation
  • Loading branch information
raulcd committed Jan 22, 2025
1 parent 4b88388 commit 908b080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:

build-example:
name: C++ Minimal Build Example
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
timeout-minutes: 45
steps:
Expand All @@ -165,11 +165,6 @@ jobs:
with:
fetch-depth: 0
submodules: recursive
- name: Install CMake 3.25.0
shell: bash
run: |
ci/scripts/install_cmake.sh 3.25.0 /tmp/local/
echo "/tmp/local/bin" >> $GITHUB_PATH
- name: Check CMake presets
run: |
cd cpp
Expand Down Expand Up @@ -329,11 +324,6 @@ jobs:
with:
fetch-depth: 0
submodules: recursive
- name: Install CMake 3.25.0
shell: bash
run: |
ci/scripts/install_cmake.sh 3.25.0 /c/cmake
echo "c:\\cmake\\bin" >> $GITHUB_PATH
- name: Download Timezone Database
shell: bash
run: ci/scripts/download_tz_database.sh
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

lint:
name: Lint C++, Python, R, Docker, RAT
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
timeout-minutes: 15
steps:
Expand All @@ -53,11 +53,6 @@ jobs:
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.12
- name: Install CMake 3.25.0
shell: bash
run: |
ci/scripts/install_cmake.sh 3.25.0 /tmp/local/
echo "/tmp/local/bin" >> $GITHUB_PATH
- name: Install pre-commit
run: |
python -m pip install pre-commit
Expand Down

0 comments on commit 908b080

Please sign in to comment.