File tree Expand file tree Collapse file tree 3 files changed +31
-24
lines changed Expand file tree Collapse file tree 3 files changed +31
-24
lines changed Original file line number Diff line number Diff line change @@ -3,25 +3,12 @@ name: CI
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
pull_request :
8
8
branches :
9
- - master
9
+ - main
10
10
11
11
jobs :
12
- configuration-test :
13
- name : Check Configuration
14
- runs-on : ubuntu-latest
15
- steps :
16
- - uses : actions/checkout@v2.3.4
17
- - name : Configlet
18
- run : |
19
- bin/fetch-configlet
20
- bin/configlet lint .
21
- bin/check-configlet-fmt.sh
22
- env :
23
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24
-
25
12
linux-min :
26
13
name : Linux Min Config
27
14
runs-on : ubuntu-16.04
44
31
45
32
linux-latest :
46
33
name : Linux Latest Config
47
- needs : [linux-min, configuration-test ]
34
+ needs : [linux-min]
48
35
runs-on : ubuntu-latest
49
36
strategy :
50
37
matrix :
@@ -74,23 +61,23 @@ jobs:
74
61
75
62
windows :
76
63
name : Windows
77
- needs : [linux-min, configuration-test ]
64
+ needs : [linux-min]
78
65
runs-on : windows-latest
79
66
steps :
80
67
- uses : actions/checkout@v2.3.4
81
68
- name : Run Tests
82
69
shell : powershell
83
70
# Delete the exercises that require Boost to avoid issues with Windows setup.
84
71
run : |
85
- rm exercises/gigasecond -r
86
- rm exercises/meetup -r
72
+ rm exercises/practice/ gigasecond -r
73
+ rm exercises/practice/ meetup -r
87
74
cmake .
88
75
cmake --build . -- test_hello-world
89
76
cmake --build .
90
77
91
78
mac :
92
79
name : MacOS
93
- needs : [linux-min, configuration-test ]
80
+ needs : [linux-min]
94
81
runs-on : macOS-latest
95
82
steps :
96
83
- uses : actions/checkout@v2.3.4
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.5.1 )
2
2
project (exercism CXX )
3
3
4
- set (alt_exercise_tree ${CMAKE_CURRENT_SOURCE_DIR} /build_exercises )
4
+ set (alt_exercise_tree ${CMAKE_CURRENT_SOURCE_DIR} /build_exercises/practice )
5
5
6
6
function (build_fixup exercise_dir alt_exercise_root )
7
7
string (REPLACE "-" "_" file ${exercise_dir} )
8
- set (source ${CMAKE_CURRENT_SOURCE_DIR} /exercises/${exercise_dir} )
8
+ set (source ${CMAKE_CURRENT_SOURCE_DIR} /exercises/practice/ ${exercise_dir} )
9
9
if (EXISTS ${source} )
10
10
set (alt_exercise_dir ${alt_exercise_root} /${exercise_dir} )
11
11
file (COPY ${source} DESTINATION ${alt_exercise_root} )
@@ -30,7 +30,7 @@ if(EXERCISM_COMMON_CATCH)
30
30
)
31
31
endif ()
32
32
33
- file (GLOB exercise_list ${CMAKE_CURRENT_SOURCE_DIR} /exercises/* )
33
+ file (GLOB exercise_list ${CMAKE_CURRENT_SOURCE_DIR} /exercises/practice/ * )
34
34
35
35
foreach (exercise_dir ${exercise_list} )
36
36
get_filename_component (exercise ${exercise_dir} NAME )
Original file line number Diff line number Diff line change 736
736
}
737
737
],
738
738
"key_features" : [],
739
- "tags" : []
739
+ "tags" : [
740
+ " execution_mode/compiled" ,
741
+ " paradigm/procedural" ,
742
+ " typing/static" ,
743
+ " platform/android" ,
744
+ " platform/ios" ,
745
+ " platform/linux" ,
746
+ " platform/mac" ,
747
+ " platform/windows" ,
748
+ " runtime/language_specific" ,
749
+ " used_for/backends" ,
750
+ " used_for/cross_platform_development" ,
751
+ " used_for/embedded_systems" ,
752
+ " used_for/financial_systems" ,
753
+ " used_for/frontends" ,
754
+ " used_for/games" ,
755
+ " used_for/guis" ,
756
+ " used_for/mobile" ,
757
+ " used_for/robotics" ,
758
+ " used_for/scientific_calculations"
759
+ ]
740
760
}
You can’t perform that action at this time.
0 commit comments