Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler matrix versions #707

Merged
merged 11 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version:
compiler:
- clang-3
sfod marked this conversation as resolved.
Show resolved Hide resolved
- clang-6
- clang-8
Expand Down
7 changes: 3 additions & 4 deletions samples/secure_tunneling/secure_tunnel/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
using namespace Aws::Crt;
using namespace Aws::Iotsecuretunneling;
using namespace Aws::Crt::Io;
using namespace std::chrono_literals;

void logMessage(std::shared_ptr<Message> message)
{
Expand Down Expand Up @@ -352,7 +351,7 @@ int main(int argc, char *argv[])
*/
while (keepRunning)
{
std::this_thread::sleep_for(2000ms);
std::this_thread::sleep_for(std::chrono::milliseconds(2000));
if (localProxyMode == AWS_SECURE_TUNNELING_SOURCE_MODE)
{
uint16_t messageCount = static_cast<uint16_t>(cmdData.input_count);
Expand Down Expand Up @@ -389,7 +388,7 @@ int main(int argc, char *argv[])
connectionId = 2;
secureTunnel->SendConnectionStart(m_serviceId.value(), connectionId);

std::this_thread::sleep_for(2000ms);
std::this_thread::sleep_for(std::chrono::milliseconds(2000));
}
else
{
Expand All @@ -399,7 +398,7 @@ int main(int argc, char *argv[])
}
}

std::this_thread::sleep_for(3000ms);
std::this_thread::sleep_for(std::chrono::milliseconds(3000));

fprintf(stdout, "Closing Connection\n");
// Set the Secure Tunnel Client to desire a stopped state
Expand Down
2 changes: 1 addition & 1 deletion samples/secure_tunneling/tunnel_notification/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ int main(int argc, char *argv[])

while (1)
{
std::this_thread::sleep_for(500ms);
std::this_thread::sleep_for(std::chrono::milliseconds(500));
continue;
}
}
Loading