Commit Graph

58 Commits

Author SHA1 Message Date
Dimitrij Mijoski
9beddd08f9 Improve CI on Windows 2022-08-02 06:46:02 -07:00
Victor Zverovich
84eecb6561 Prune CI configs 2022-07-04 08:51:35 -07:00
Vladislav Shchapov
94114b05ca New CI: Microsoft Visual Studio 2022.
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-07-04 07:18:21 -07:00
Vladislav Shchapov
c12b4c0cf1 New CI: GCC-8 C++17, Clang-8 C++17.
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-07-02 08:34:52 -07:00
nathannaveen
11316b29af chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2022-05-29 19:12:52 -07:00
Victor Zverovich
c55175a589 Add an issue template 2022-04-08 07:53:42 -07:00
Victor Zverovich
c51604a0e1 Reduce the number of configs 2022-03-15 18:20:59 -07:00
Victor Zverovich
587dc9946d Remove windows-2016 env no longer suppported by GA 2022-03-15 18:16:13 -07:00
Victor Zverovich
5c0d656401 Fix apt install 2022-03-03 15:50:25 -08:00
Alexey Ochapov
117fc67077 CI: replace g++ C++20 build to test FP formatting at compile-time 2021-08-26 17:16:45 -07:00
Victor Zverovich
d6e882ed84 Undo the move because the doc is not a GH template 2021-08-06 11:22:33 -07:00
Victor Zverovich
652c3653bb Move CONTRIBUTING.md to .github 2021-08-06 10:56:05 -07:00
Victor Zverovich
d0c8d45a2e apt update before install 2021-06-26 06:29:53 -07:00
Владислав Щапов
c98254c3d7 Install locales into CI 2021-06-14 09:41:08 -07:00
Victor Zverovich
c9fe1fa5ba Remove unused flag 2021-06-08 08:00:37 -07:00
Alexey Ochapov
024741b476 CI: set up multi-thread build for all platforms 2021-06-04 05:56:55 -07:00
Victor Zverovich
9f8b6daca2 Fix wheel installation 2021-06-03 09:10:07 -07:00
Victor Zverovich
6060bcfc8a Fix docs 2021-06-03 09:03:00 -07:00
Victor Zverovich
ff9673463c Fix docs 2021-06-03 08:43:41 -07:00
Victor Zverovich
1085cc2178 Fix docs 2021-06-03 08:28:02 -07:00
Victor Zverovich
1cd9899cf3 Add initial support for weekday formatting 2021-05-24 10:21:34 -07:00
Sergiu Deitsch
13e652939b export missed symbols
Enable `-fvisibility=hidden` and `-fvisibility-inlines-hidden` by default in CI builds to ensure all public symbols are exported correctly.
2021-05-19 16:03:45 -07:00
Victor Zverovich
4b885c8633 Replace windows_error with system_error 2021-05-07 06:19:03 -07:00
Alexey Ochapov
d23e315ea2 CI windows: add MSVC C++20 build 2021-04-26 16:35:32 -07:00
Alexey Ochapov
b441532396 CI linux: add clang++-11 C++20 (with LLVM libc++) build
* find-package-test fixed by passing CXX_FLAGS, i.e. -stdlib=libc++
 * std::array usage in compile-test.cc replaced with plain array, because
   <array> header was not included
2021-04-10 07:20:05 -07:00
Alexey Ochapov
1dbadb6527 CI linux: add clang++-11 C++20 build 2021-04-10 07:20:05 -07:00
Alexey Ochapov
09dbad47e1 CI linux: add missing build_type
for g++-8 C++14, g++10 C++17, g++10 C++20
2021-04-10 07:20:05 -07:00
Alexey Ochapov
e2facffe4d CI linux: remove excessive clang++-9 include 2021-04-10 07:20:05 -07:00
Victor Zverovich
0d6b70d96b Install gcc 8 2021-04-01 09:19:36 -07:00
Victor Zverovich
7d8c34018e
Update pull_request_template.md 2021-03-30 08:42:11 -07:00
Vladislav Shchapov
4dc7170d21
Fix C++17 builds: (#2192)
- Fix C++17 Visual Studio builds.
- Use C++17 for `windows-2019` builds.
- Removed options for unsupported compiler (MSVC11).
- Removed options, not needed after enabling C++11+ features in gmock/gtest.
2021-03-26 06:19:43 -07:00
Alexey Ochapov
acef0bb51a
use gcc-10.2 instead of gcc-10.1 on CI, also fix one problem (#2110)
the problem was not detected by test because of wrong gcc-10 minor version on CI
2021-01-23 07:52:41 -08:00
Jonathan Gopel
5533641319
🆕 [CI] Test with C++14 in Windows 2019 (#2020)
Problem:
- Both Windows builds test C++14

Solution:
- Use C++11 for `windows-2016` builds and C++14 for `windows-2019`
  builds.

Co-authored-by: Jonathan Gopel <jgopel@quantlab.com>
2020-11-19 06:04:16 -08:00
Victor Zverovich
bcc20b29df Implement compile-time checks by default 2020-11-15 17:24:36 -08:00
Victor Zverovich
f8640d4050 Add more standards 2020-11-14 12:02:46 -08:00
Victor Zverovich
6d14f78115 Fix linkage errors when linking with a shared library (#2011) 2020-11-12 06:11:17 -08:00
Jonathan Gopel
b3ab0bc7e3
🎨 [CI] Specify the exact version of clang to use (#1991)
Problem:
- The version of clang to use is specified only as `clang++`. This is
  inconsistent with the specifications for gcc and exposed to unexpected
  failure if the default changes.

Solution:
- Specify the exact version of clang to use. I chose `clang++-9` as that
  is the version that `clang++` is currently resolving to.

Co-authored-by: Jonathan Gopel <jgopel@quantlab.com>
2020-11-08 05:18:24 -08:00
Victor Zverovich
701ed6c874 Install deps in github actions instead of script 2020-11-07 11:16:38 -08:00
Victor Zverovich
cd95579834 Move less installation to actions 2020-11-07 09:12:54 -08:00
Victor Zverovich
7a0b1d5781 Add key 2020-11-07 08:09:01 -08:00
Victor Zverovich
5b3052f999 Switch doc build to github actions 2020-11-07 07:31:15 -08:00
Victor Zverovich
cba5970cd8 Remove migrated build configs 2020-11-04 10:03:00 -08:00
Victor Zverovich
bcab36da3f Update CI config 2020-11-03 16:01:26 -08:00
Victor Zverovich
1689e73e90 Move PR template 2020-11-03 14:52:47 -08:00
Victor Zverovich
0103408a5c Update CI config 2020-11-03 14:39:43 -08:00
Victor Zverovich
205eb3a8f2 Update CI config 2020-11-03 13:27:15 -08:00
Victor Zverovich
fe61b8c630 Update CI config 2020-11-03 11:59:59 -08:00
Victor Zverovich
867b15d77c Update CI config 2020-11-03 11:48:20 -08:00
Victor Zverovich
98cb9f9931 Update CI config 2020-11-03 11:43:00 -08:00
Victor Zverovich
95077d60c9 Update CI config 2020-11-03 11:41:25 -08:00