Commit Graph

54 Commits

Author SHA1 Message Date
JinmingHu
7b87ea1c85
some small fixes on Storage cmakefiles (#3588) 2022-04-26 12:09:03 +08:00
JinmingHu
fe0ed7e3bb
Storage April Release (#3478)
* Storage April Release

* update queue changelog

* update vcpkg.json

* update CL
2022-04-06 07:27:48 +08:00
Victor Vazquez
feaaf0b414
Update release mode windows + samples (#3451)
* changes

* vs generator

* use macro

* release and samples

* add target to build smoke test

* revert

* reuse macro for samples

* extra legs for samples only

* storage connection string

* format

* order and macro

* update

* samples

* missing
2022-03-22 01:39:39 +00:00
JinmingHu
66b9e75010
Storage Mar. Release (#3400)
* Storage Mar. Release

* upgrade vcpkg commit
2022-03-09 08:51:55 +08:00
Victor Vazquez
74576d640f
Increment gTest version to get rid of warning during cmake-configure (#3351)
* increase version

* update manifest

* fix test
2022-02-17 13:41:04 -08:00
JinmingHu
116185409e
Storage Feb. Release (#3340)
* Storage Feb. Release

* Update sdk/storage/azure-storage-queues/CHANGELOG.md
2022-02-13 02:30:09 +00:00
George Arama
5290690be0
Storage src (#3304)
* before sync

* download latest version

* blobs and datalake

* shares and queues

* some cleanup

* for PR
2022-02-07 11:47:08 -08:00
George Arama
e18c6ce6fc
keys source build (#3251)
* keys source build

* merge from main, apply changes
2022-01-25 15:38:55 -08:00
George Arama
d9142e80b2
secrets build from source (#3250)
* secrets build

* typo
2022-01-25 14:27:04 -08:00
George Arama
88f234d976
build source identity (#3244)
* build source identity

* pipeline

* PR comments

* PR comments

* DFETCH cspell

* EOL
2022-01-21 13:13:15 -08:00
Victor Vazquez
c10de791cc
Build ci gates per service (#3260) 2022-01-20 18:09:06 +00:00
George Arama
9d1ede92ec
Prototype build from source (#3180)
* prepPR

* gitignore updates

* cspell.json

* spell

* cspell typo

* deisable option

* need to look out for this

* reenable tests

* set unset location properly

* building in docker

* format file

* final changes

* PR comments

* update git ignore

* test cmake build

* test 2

* ren steps

* test new step

* try again

* again

* oops

* try again

* put back

* test2

* test5_46

* progress

* more again

* test6_35

* test 6_55

* test_again

* move up

* test

* output params

* try try again

* one more test

* put back curl

* os

* run only on one

* try again

* typo

* switch variable

* set things back

* set things back

* prep for next step

* test source deps new

* try again

* try try again

* typo

* test rewire

* params

* typo

* fix

* get rid of vcpkg

* linux

* mac

* try brew

* try exports

* try again

* typo

* set env

* include dir

* root

* try again

* typo

* dfsfsda

* try agan

* try again

* oops

* sdfsd

* typo

* dsdsad

* hghhg

* update env

* ghhgj

* sAdsad

* try again

* fdfd

* rewrew

* dsadas

* sdasda

* ggggg

* envs2

* envs3

* typo

* order

* try again

* make sure we don't blow up other pipelines

* typo

* typo

* fsdfs

* check null

* put back
2022-01-14 13:06:00 -08:00
Victor Vazquez
dc5b45e759
Test Cmake generate configs (#3230)
Adding extra stage for individual packages generation
2022-01-11 15:49:56 -08:00
Daniel Jurek
fa0fa97155
Generate map files (#3181)
* Generate map files in build

* Add .map file artifact publishing

* Add Xlinker to spelling exceptions

* Remove PublishMapFiles from clang builds

* Generate the map file artifact name

* CXX_COMPILER_ID and some logging for Clang which might be linking using the GNU linker by default

* More logging

* Move logging out of conditional

* Logging up high, use OS to determine which link flags to set

* Use linker options specific to AppleClang's context, publish map files for all platforms
2022-01-03 13:56:41 -08:00
Victor Vazquez
f4e6390dff
Enable no-rtti (#2963)
* Enable no-rtti
2021-10-14 18:12:03 -07:00
Victor Vazquez
73d5ba0d2d
Doc changes for HTTP and removing the "More" link (#2332)
* update docs from classes

* remove more link from classes part II

* http docs

* Update sdk/core/azure-core/inc/azure/core/http/http.hpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Update cmake-modules/AzureDoxygen.cmake

* doc updates

* update RFC

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-05-25 14:02:14 -07:00
Anton Kolesnyk
efe4772acb
Update upper/lower/other casing (#2267)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-05-14 12:54:16 -07:00
Ahson Khan
fd9c3e5ebb
Fix true spelling errors across all source and header files within the SDK and add exceptions for false positives. (#2209)
Part of https://github.com/Azure/azure-sdk-for-cpp/issues/1277, checking what types of warnings the CI emits.

Verified all SDK product `.cpp`, `.hpp`, `.txt`, and `.md` files, primarily focused on azure-core. They are all clean now. There are some exceptions that needs to be added for keyvault and storage, but they are false positives, so not a concern.

> `cspell lint --config .vscode/cspell.json *.hpp */**/*.hpp`

CSpell: Files checked: 188, Issues found: 0 in 0 files

> `cspell lint --config .vscode/cspell.json *.cpp */**/*.cpp`

CSpell: Files checked: 186, Issues found: 88 in 15 files (keyvault and storage false positives, or tests)

> `cspell lint --config .vscode/cspell.json *.md */**/*.md`

CSpell: Files checked: 45, Issues found: 5 in 2 files (eng/common)

> `cspell lint --config .vscode/cspell.json *.txt */**/*.txt`

CSpell: Files checked: 44, Issues found: 0 in 0 files

> `cspell lint --config .vscode/cspell.json *.* */**/*`

CSpell: Files checked: 646, Issues found: 328 in 69 files (most of these are in eng\docs\api\assets\style.css or eng/common)

Deprioritize and ignored the errors from the test files (including test resource json files), and `eng/common` since those need to be centrally fixed.
2021-05-07 21:04:58 +00:00
Anton Kolesnyk
cd36753d76
PackageVersion made constexpr and moved to src/package_version.hpp (#2166) 2021-04-28 17:34:24 -07:00
Victor Vazquez
1d5a755287
Update for doxygen inline docs (#2164)
disable INLINE SOURCES
2021-04-28 18:07:45 +00:00
Anton Kolesnyk
ba714bebd1
VcPkg files: Simplify header comment handling (#2135) 2021-04-20 01:01:16 +00:00
Ahson Khan
d452e94337
Update vcpkg ports to use a manifest json file instead of a CONTROL file. (#2132)
* Update vcpkg ports to use a manifest json file instead of a CONTROL file.

* Update vcpkg ports to use a manifest json file instead of a CONTROL file
for remaining packages.

* Add the new vcpkg manifet json files and also update the template
package.

* Update paths in the cmake and eng scripts to find the right file now
that CONTROL is gone.
2021-04-19 12:50:50 -07:00
Anton Kolesnyk
bc564dbddd
Namespaces renamed: Details => _detail, Internal => _internal (#1823) 2021-03-09 18:05:47 -08:00
Victor Vazquez
b7de24483a
Rename and structure unit test and perf tests (#1706)
* Rename and structure unit test and perf tests
2021-02-23 05:55:12 +00:00
Anton Kolesnyk
bf347d24c2
Disable compiler extensions, fix Clang options to have effect, fix warnings (#1615)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-18 19:15:11 -08:00
Anton Kolesnyk
bc83b64098
Remove copyright headers from produced VcPkg port files (#1682)
* Remove copyright headers from produced VcPkg port files

* PR feedback

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-16 13:56:07 -08:00
Victor Vazquez
1f849ec384
fix docs (#1633) 2021-02-08 17:13:30 -08:00
Victor Vazquez
d9ae3cf5fd
skip not wished files from docs (#1630)
fixes: #1621
2021-02-08 22:24:06 +00:00
Victor Vazquez
60a4792a0f
Make cmake modules consistent names (#1498)
* AzureVersion

* Vcpkg

* coverage

* missing renames

* missing renames
2021-01-27 18:55:46 -08:00
Victor Vazquez
6c3aeed35c
Json unit tests (#1464)
Adding json unit tests
2021-01-27 10:07:12 -08:00
Anton Kolesnyk
15182d5a34
Fix link errors when producing a DLL, add UWP compilation support (#1346) 2021-01-21 16:52:07 -08:00
Victor Vazquez
6a317e8b87
Move the default transport adapter assignation to the source (#1206)
fixes: #1169
2020-12-18 02:13:03 +00:00
Victor Vazquez
5e7dc42df8
add verbose to windows builds and use 4 parallel jobs (#1183)
* add verbose to windows build and use 4 parallel jobs
2020-12-15 14:54:49 -08:00
Anton Kolesnyk
3eae7c130c
Add VcPkg support (#1013) 2020-12-11 11:53:37 -08:00
Ahson Khan
0f854ffa9b
Add WinHTTP Transport support to the SDK for windows clients as another HTTP Transport. (#897)
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/354
2020-12-10 22:00:52 +00:00
Anton Kolesnyk
828bb4098a
Make changes towards making libraries individually buildable (#1108) 2020-12-09 04:02:29 -08:00
Anton Kolesnyk
bbe4b54528
Do not use ${TARGET_NAME} unless necessary (#1094) 2020-12-07 20:20:06 -08:00
Anton Kolesnyk
ce98087f7e
Don't use WINDOWS/POSIX/NOMINMAX macros defined in cmake, move them to source code instead (#1070) 2020-12-04 11:55:59 -08:00
Anton Kolesnyk
3145ec02c1
Fix MSVC warning D9025 ("overriding '/W3' with '/W4'") (#1072)
See https://stackoverflow.com/questions/58708772/cmake-project-in-visual-studio-gives-flag-override-warnings-command-line-warnin

--
This change was extracted from #1013, in order to isolate some of the changes.
2020-12-03 16:16:40 +00:00
Victor Vazquez
c3afb7798f
Remove CMake nlohmann module (#1042)
fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/1041

Make nlohmann a 3rd party required lib. Do not fetch it with CMake if it is not found
2020-12-03 01:52:56 +00:00
Victor Vazquez
c9c12e27aa
let azure core provide json interface (#1004)
* let azure core provide json interface
2020-11-24 15:55:46 -08:00
Victor Vazquez
b8d9d42e5a
Update Notice and add cgmanifest.json (#839)
* Update Notice and add cgmanifest.json
2020-11-18 11:44:22 -08:00
Victor Vazquez
84f690e968
Allow exclude for codecoverage (#939)
* Add support for EXCLUDE path from code coverage

* code coverage for live tests
2020-11-18 09:57:56 -08:00
Victor Vazquez
c764052e7c
Add Code coverage (#830)
* Add code coverage scripts
2020-10-27 15:35:15 -07:00
JinmingHu
02f5869559
storage service starts using version.hpp (#845)
* version.hpp

* 12

* fix
2020-10-26 10:43:13 +08:00
Victor Vazquez
74020a397a
make Curl default option to build on Win as a temp workaround (#753)
* make Curl default option to build on Win as a temp workaround

* Temporarily disable setting WinHTTP as a transport adapter since it
hasn't been implemented yet, to unblock building master.

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2020-10-14 12:15:56 -07:00
Victor Vazquez
cd2a8a3812
cmake updates for building transport adapters (#706)
Adding CMake module to enable/disable transport adapters

TRANSPORT ADAPTER BUILD  
Default: If no option is explicitly added, curl will be used for POSIX and WIN HTTP for WIndows 
 Windows: Both CURL and WIN_HTTP can be build to be used.                                        
POSIX: Only CURL is acceptable. If WIN_HTTP is set, generate step will fail for user            

Defines `BUILD_WIN_HTTP_TRANSPORT_ADAPTER` and `BUILD_CURL_HTTP_TRANSPORT_ADAPTER` for source code
 
Fixes #350
2020-10-10 00:08:57 +00:00
Rick Winter
bac7f28570
Pin package version (#688) 2020-09-25 13:46:53 -07:00
Daniel Jurek
3e4fa18377
Add docs.microsoft.com artifact generation (#576)
* Add version.txt
* Add doc generation for template
* Add version.hpp parsing and update capabilities to cmake and engsys
* Get-SdkVersion -> Get-PkgVersion
* Move Update-PkgVersion.ps1 under eng/scripts
* Get-PackageVersion -> Get-PkgVersion
* Update paths, params, verbosity
* Couple fixes to output and make use of new SemVer version
* Add fallback support for verison.txt in cases where we still use it to unblock release artifact generation
* Use version information in release pipeline
* Add workaround to generate storage pipeline artifacts
* eng/scripts/
* Write warning
* Haven't released storage-file-shares yet according to releases on GitHub
* Set release date on changelog.md
* Update CHANGELOG.md to indicate this is a test release
* Add docs.microsoft.com artifact generation
* Add arguments
* newline
* d->s
* publish docs.ms artifact
* Consolidate archetype-sdk-client.yml docs.ms generation steps
* publish not the docs.ms for we publish it as part of packages
* Better folder structure
2020-09-03 21:08:30 -07:00
Daniel Jurek
919610f429
Use version.hpp for package versions (#572)
* Add version.txt
* Add doc generation for template
* Add version.hpp parsing and update capabilities to cmake and engsys
* Get-SdkVersion -> Get-PkgVersion
* Move Update-PkgVersion.ps1 under eng/scripts
* Get-PackageVersion -> Get-PkgVersion
* Update paths, params, verbosity
* Couple fixes to output and make use of new SemVer version
* Add fallback support for verison.txt in cases where we still use it to unblock release artifact generation
* Use version information in release pipeline
* Add workaround to generate storage pipeline artifacts
* eng/scripts/
* Write warning
* Haven't released storage-file-shares yet according to releases on GitHub
* Set release date on changelog.md
* Update CHANGELOG.md to indicate this is a test release
* Remove fallback exception for storage
* Re-add Rick's suggestions
* Revert "Remove fallback exception for storage"
2020-09-02 18:53:46 -07:00