Skip to content

Commit 5a4ef1a

Browse files
committed
1.7.0
2 parents ee3c076 + 8208fb1 commit 5a4ef1a

133 files changed

Lines changed: 4916 additions & 1802 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/azp-linux-docker-test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
steps:
2-
- script: |
3-
which docker
4-
/tmp/docker exec -t -u root container mv /etc/sudoers /etc/sudoers.bak
5-
/tmp/docker exec -t -u root container apt-get -qq update
6-
/tmp/docker exec -t -u root container apt-get -qq install sudo
7-
/tmp/docker exec -t -u root container mv /etc/sudoers.bak /etc/sudoers
2+
- task: CmdLine@2
83
displayName: Sudorize
4+
target: host
5+
inputs:
6+
script: |
7+
/usr/bin/docker exec -t -u root container mv /etc/sudoers /etc/sudoers.bak
8+
/usr/bin/docker exec -t -u root container apt-get -qq update
9+
/usr/bin/docker exec -t -u root container apt-get -qq install sudo
10+
/usr/bin/docker exec -t -u root container mv /etc/sudoers.bak /etc/sudoers
911
- bash: |
1012
set -e
1113
uname -a

.ci/azp-mingw-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
steps:
22
- script: |
33
cd %BUILD_SOURCESDIRECTORY%/..
4-
curl "https://github.com/niXman/mingw-builds-binaries/releases/download/%MINGW_VERSION%-%MINGW_RT%/x86_64-%MINGW_VERSION%-release-posix-seh-%MINGW_RT%.7z" -L -o mingw.7z
4+
curl "https://github.com/niXman/mingw-builds-binaries/releases/download/%MINGW_VERSION%-%MINGW_RT%/x86_64-%MINGW_VERSION%-release-posix-seh-ucrt-%MINGW_RT%.7z" -L -o mingw.7z
55
displayName: Download MinGW
66
- task: ExtractFiles@1
77
inputs:
88
archiveFilePatterns: $(Build.SourcesDirectory)/../mingw.7z
99
destinationFolder: C:/
1010
cleanDestinationFolder: false
11+
overwriteExistingFiles: true
1112
displayName: Extract MinGW
1213
- script: |
1314
cd %BUILD_SOURCESDIRECTORY%/..
@@ -18,6 +19,7 @@ steps:
1819
archiveFilePatterns: $(Build.SourcesDirectory)/../b2.zip
1920
destinationFolder: $(Build.SourcesDirectory)/..
2021
cleanDestinationFolder: false
22+
overwriteExistingFiles: true
2123
displayName: Extract B2
2224
- script: |
2325
echo using gcc ^: ^: ^"C:/mingw64/bin/g++.exe^" ^; > %HOMEDRIVE%%HOMEPATH%/user-config.jam

.ci/azp-msvc-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ steps:
2020
displayName: Install B2
2121
- script: |
2222
cd %BUILD_SOURCESDIRECTORY%/tests
23-
%BUILD_SOURCESDIRECTORY%/../bin/b2.exe --debug-configuration toolset=%TOOLSET% variant=debug,release
23+
%BUILD_SOURCESDIRECTORY%/../bin/b2.exe --debug-configuration toolset=%TOOLSET% cxxstd=%CXXSTD% variant=debug,release %B2_ARGS%
2424
displayName: Test

.clangd

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Diagnostics:
2+
ClangTidy:
3+
Add:
4+
- modernize-*
5+
- bugprone-*
6+
- performance-*
7+
Remove:
8+
- modernize-use-trailing-return-type
9+
- modernize-use-nodiscard
10+
MissingIncludes: Strict
11+
InlayHints:
12+
BlockEnd: Yes
13+
Designators: Yes
14+
Enabled: Yes
15+
ParameterNames: No
16+
DeducedTypes: No
17+
TypeNameLimit: 24

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
[*.yml]
10+
[*.{yml,clangd}]
1111
indent_style = space
1212
indent_size = 2
1313
charset = utf-8

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [grafikrobot]
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Copyright 2023 René Ferdinand Rivera Morell
2+
# Use, modification, and distribution are subject to the
3+
# Boost Software License, Version 1.0. (See accompanying file LICENSE.txt)
4+
5+
name: "Release: Archives"
6+
7+
on:
8+
# Allow manual runs.
9+
workflow_dispatch:
10+
# Run on publishing of releases.
11+
release: { types: [published] }
12+
# And run on pushes, for main and release branches.
13+
push:
14+
branches: ["main", "release", "version/*"]
15+
paths-ignore:
16+
[
17+
".circleci/**",
18+
".cirrus.yml",
19+
".drone.star",
20+
".semaphore/**",
21+
".travis.yml",
22+
"appveyor.yml",
23+
"azure-pipelines.yml",
24+
".ci/azp-*.yml",
25+
]
26+
27+
jobs:
28+
archive:
29+
strategy:
30+
matrix:
31+
include:
32+
- { name: "Zip", format: "zip", command: "zip -r -9" }
33+
- {
34+
name: "7z",
35+
format: "7z",
36+
command: "7za a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on",
37+
}
38+
- { name: "BZip2", format: "tar.bz2", command: "tar -cv -j -f" }
39+
- { name: "Zstd", format: "tar.zstd", command: "tar -cv --zstd -f" }
40+
runs-on: ubuntu-latest
41+
name: ${{ matrix.name }}
42+
steps:
43+
- name: "Checkout"
44+
uses: actions/checkout@main
45+
with: { path: "lyra" }
46+
47+
- name: "Snapshot"
48+
run: |
49+
cd "${{github.workspace}}/lyra"
50+
version=`basename ${{github.ref_name}}`
51+
git archive --format=tar --output="${{github.workspace}}/lyra-${version}.tar" "${{github.ref_name}}"
52+
cd "${{github.workspace}}"
53+
mkdir "lyra-${version}"
54+
cd "lyra-${version}"
55+
tar -xvf "${{github.workspace}}/lyra-${version}.tar"
56+
rm -rf "${{github.workspace}}/lyra-${version}.tar"
57+
cd "${{github.workspace}}"
58+
ls -laF
59+
60+
- name: "Archive"
61+
run: |
62+
cd "${{github.workspace}}"
63+
version=`basename ${{github.ref_name}}`
64+
archive="${{github.workspace}}/lyra-${version}.${{matrix.format}}"
65+
${{matrix.command}} "${archive}" "lyra-${version}"
66+
sha256sum -b "${archive}" > "${archive}.sha256sum.txt"
67+
68+
- name: "Cleanup"
69+
run: |
70+
cd "${{github.workspace}}"
71+
version=`basename ${{github.ref_name}}`
72+
rm -rf "${{github.workspace}}/lyra-${version}"
73+
74+
- name: "Upload"
75+
uses: actions/upload-artifact@main
76+
with:
77+
name: Lyra-${{matrix.name}}
78+
path: "${{github.workspace}}/lyra-*"
79+
80+
- name: "Publish"
81+
uses: softprops/action-gh-release@master
82+
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
83+
with:
84+
files: "${{github.workspace}}/lyra-*"

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.bin
2+
.cache
23
.vscode/launch.json
4+
build
35
project-config.jam
6+
compile_commands.json

.vscode/c_cpp_properties.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Linux",
5+
"compilerPath": "/usr/bin/clang",
6+
"compilerArgs": ["-std=c++11"],
7+
"cStandard": "c18",
8+
"cppStandard": "c++11",
9+
"includePath": ["${workspaceFolder}/include"],
10+
"compileCommands": "${workspaceFolder}/compile_commands.json"
11+
}
12+
],
13+
"version": 4
14+
}

.vscode/settings.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"python.pythonPath": "/usr/bin/python",
3-
"C_Cpp.default.browse.path": ["include"],
4-
"C_Cpp.default.includePath": ["include"],
5-
"C_Cpp.default.cppStandard": "c++11"
3+
"C_Cpp.suggestSnippets": false,
4+
"C_Cpp.vcpkg.enabled": false
65
}

0 commit comments

Comments
 (0)