Skip to content

chore: drop installation of extra deps #4

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ jobs:
compiler: [clang++-15, g++-12]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Install Dependencies
# Boost must be installed only because the CMake version (3.12) can't
# detect the installed Boost version (1.69)
run: sudo apt-get update && sudo apt-get -y install ninja-build libboost-date-time-dev g++-multilib
- run: sudo apt-get update && sudo apt-get install libboost-date-time-dev
- name: Run tests with common Catch
run: |
cmake -G Ninja .
Expand All @@ -38,10 +35,7 @@ jobs:
compiler: [clang++, g++]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Install Dependencies
# Boost must be installed only because the CMake version (3.12) can't
# detect the installed Boost version (1.69)
run: sudo apt-get update && sudo apt-get -y install ninja-build libboost-date-time-dev
- run: sudo apt-get update && sudo apt-get install libboost-date-time-dev
- name: Run tests with common Catch
if: matrix.compiler == 'g++'
run: |
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)
project(exercism CXX)

function(build_fixup exercise_dir alt_exercise_root exercise_type example_name)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/doctor-data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/election-day/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/ellens-alien-game/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/freelancer-rates/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/interest-is-interesting/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/lasagna-master/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/lasagna/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/last-will/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/log-levels/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/making-the-grade/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/pacman-rules/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/power-of-troy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/speedywagon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/troll-the-trolls/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Get the exercise name from the current directory
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/vehicle-purchase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/acronym/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/all-your-base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/allergies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/anagram/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/armstrong-numbers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/atbash-cipher/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/bank-account/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/beer-song/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/binary-search-tree/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/binary-search/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/binary/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/bob/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/circular-buffer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/clock/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/collatz-conjecture/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/complex-numbers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/crypto-square/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/darts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/diamond/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/difference-of-squares/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/dnd-character/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/eliuds-eggs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/etl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/food-chain/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/gigasecond/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.10)

cmake_policy(SET CMP0167 NEW)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/grade-school/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/grains/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/hamming/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME)

# Basic CMake project
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)

# Name the project after the exercise
project(${exercise} CXX)
Expand Down
Loading