Commit Graph

71 Commits

Author SHA1 Message Date
Joyce
b94e1016fa
chore: set permission to cifuzz.yml (#3328)
Signed-off-by: Joyce <joycebrum@google.com>
2023-03-01 07:58:59 -08:00
Victor Zverovich
48dfbcaa95 Improve license and PR template wording 2023-02-26 09:08:53 -08:00
luzpaz
3a69529e8b
Fix various typos (#3312)
Found via `codespell -q 3 -S ./test/gtest -L "fo,pres,seh,wronly"`
2023-02-21 15:14:41 -08:00
Vladislav Shchapov
e03753c4ac
Add ubuntu mirrors (#3302)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-02-12 07:46:50 -08:00
Vladislav Shchapov
583f2d8209 Set timezone for chrono tests
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-12-25 10:16:19 -08:00
David Korczynski
649aa102d6 CI linux: add CIFuzz Github action
Signed-off-by: David Korczynski <david@adalogics.com>
2022-11-24 08:22:51 -08:00
Vladislav Shchapov
3160847ebd Enable C++17 tests on macOS
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-11-18 08:22:07 -08:00
Vladislav Shchapov
6a95f8c7eb Add missing env CTEST_OUTPUT_ON_FAILURE
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-11-18 08:22:07 -08:00
Dimitrij Mijoski
6e0a5f7fba Update CI to Ubuntu 20.04 and to newer versions of actions 2022-09-27 15:06:12 -07:00
Vladislav Shchapov
7a752e75ff New CI: GCC-9
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-09-12 07:02:29 -07:00
Victor Zverovich
58c4c012fa Disable slow windows build and simplify write_loc 2022-09-11 08:35:09 -07:00
Victor Zverovich
56c72a671c Reduce locale dependency 2022-09-02 10:22:11 -07:00
Dimitrij Mijoski
fd41110d38 Add MinGW to CI 2022-08-14 08:40:38 -07:00
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