-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch develop into main [2023_09_07] (#175)
* Agent: Support for building an Ubuntu Core snap. * Support Ubuntu 22.04 and Debian 11 builds. * Agent: Replace boost::filesystem usage with std::filesystem. * SDK (Windows): Preview additional methods for partial downloads, streaming downloads, and download properties. * bootstrap script determines OS and version on its own. * Fix issue of non-existent /include path during bootstrap and/or build.
- Loading branch information
Showing
91 changed files
with
2,733 additions
and
1,189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,7 @@ _deps | |
*_CPack_Packages/ | ||
*.deb | ||
out/ | ||
|
||
# Ubuntu Snap files | ||
*.snap | ||
snap/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#! /bin/bash | ||
|
||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
set -e | ||
|
||
if [ $1 == "agent" -o $1 == "sdk-tests" ] | ||
then | ||
echo "Building $1 snap..." | ||
|
||
if [ ! -d "./snap" ] | ||
then | ||
mkdir ./snap | ||
fi | ||
|
||
if [ $1 == "agent" ] | ||
then | ||
cp ./snapcraft-options/snapcraft-agent.yaml ./snap/snapcraft.yaml | ||
|
||
else | ||
cp ./snapcraft-options/snapcraft-sdk.yaml ./snap/snapcraft.yaml | ||
fi | ||
|
||
if [ $2 -a $2 == "arm64" ] | ||
then | ||
snapcraft --target-arch=arm64 --destructive-mode --enable-experimental-target-arch | ||
else | ||
snapcraft | ||
fi | ||
|
||
else | ||
echo "$1 is not a valid snap option, valid options are 'agent' or 'sdk-tests'" | ||
fi |
Oops, something went wrong.