File tree 5 files changed +12
-12
lines changed 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
build :
18
- runs-on : ubuntu-latest
18
+ runs-on : ubuntu-24.04
19
19
20
20
steps :
21
21
- uses : actions/checkout@v4
22
22
with :
23
23
fetch-depth : 1
24
24
25
25
- name : Compile binary programs
26
- run : make pgms
26
+ run : make CXX=g++-14 pgms
27
27
28
28
- name : Check for carriage returns
29
29
run : |
Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
build :
16
- runs-on : ubuntu-latest
16
+ runs-on : ubuntu-24.04
17
17
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
with :
21
21
fetch-depth : 1
22
22
23
23
- name : Compile binary programs
24
- run : make pgms
24
+ run : make CXX=g++-14 pgms
25
25
26
26
- name : Extract issue timestamps from published files
27
27
run : |
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
update-html-pages :
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-24.04
13
13
14
14
steps :
15
15
- name : Use cached git repo
51
51
run : make dates
52
52
53
53
- name : Build programs
54
- run : make pgms -j 4
54
+ run : make CXX=g++-14 pgms -j 4
55
55
56
56
- name : Generate HTML lists
57
57
run : make lists
Original file line number Diff line number Diff line change 1
1
# The binaries that we want to build
2
2
PGMS := bin/lists bin/section_data bin/toc_diff bin/list_issues bin/set_status
3
- CXXFLAGS := -std=c++17 -Wall -g -O2 -D_GLIBCXX_ASSERTIONS
3
+ CXXFLAGS := -std=c++20 -Wall -g -O2 -D_GLIBCXX_ASSERTIONS
4
4
5
5
# Running 'make debug' is equivalent to 'make DEBUG=1'
6
6
ifeq "$(MAKECMDGOALS ) " "debug"
Original file line number Diff line number Diff line change 1
1
echo " Use -m32 switch to force 32-bit build"
2
- g++ %* -std=c++17 -DNDEBUG -O2 -o bin/lists.exe src/date.cpp src/issues.cpp src/status.cpp src/sections.cpp src/mailing_info.cpp src/report_generator.cpp src/metadata.cpp src/lists.cpp
3
- g++ %* -std=c++17 -o bin/section_data.exe src/section_data.cpp
4
- g++ %* -std=c++17 -o bin/toc_diff.exe src/toc_diff.cpp
5
- g++ %* -std=c++17 -DNDEBUG -O2 -o bin/list_issues.exe src/date.cpp src/issues.cpp src/status.cpp src/sections.cpp src/metadata.cpp src/list_issues.cpp
6
- g++ %* -std=c++17 -DNDEBUG -O2 -o bin/set_status.exe src/set_status.cpp src/status.cpp
2
+ g++ %* -std=c++20 -DNDEBUG -O2 -o bin/lists.exe src/date.cpp src/issues.cpp src/status.cpp src/sections.cpp src/mailing_info.cpp src/report_generator.cpp src/metadata.cpp src/lists.cpp
3
+ g++ %* -std=c++20 -o bin/section_data.exe src/section_data.cpp
4
+ g++ %* -std=c++20 -o bin/toc_diff.exe src/toc_diff.cpp
5
+ g++ %* -std=c++20 -DNDEBUG -O2 -o bin/list_issues.exe src/date.cpp src/issues.cpp src/status.cpp src/sections.cpp src/metadata.cpp src/list_issues.cpp
6
+ g++ %* -std=c++20 -DNDEBUG -O2 -o bin/set_status.exe src/set_status.cpp src/status.cpp
7
7
You can’t perform that action at this time.
0 commit comments