Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
petermm committed Oct 8, 2024
1 parent 42134ed commit f7f50a4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/esp32-simtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
exclude:
- esp-idf-target: "esp32c6"
idf-version: "v5.0.7"
include:
- esp-idf-target: "esp32p4"
idf-version: "v5.3.1"
- esp-idf-target: "esp32h2"
idf-version: "v5.3.1"
# include:
# - esp-idf-target: "esp32p4"
# idf-version: "v5.3.1"
# - esp-idf-target: "esp32h2"
# idf-version: "v5.3.1"

steps:
- name: Checkout repo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ verify_platform(esp32) ->
verify_platform(Platform) ->
{error, {unsupported_platform, Platform}}.

loop(Count) when Count =:= 50 ->
loop(Count) when Count =:= 40 ->
io:format("Never got SNTP.~n"),
% test_ssl();
ok = test_net:start();
tests();
loop(Count) ->
timer:sleep(500),
{{Year, Month, Day}, {Hour, Minute, Second}} = erlang:universaltime(),
Expand All @@ -106,7 +106,11 @@ loop(Count) ->
loop(Count + 1);
_ ->
io:format("Got SNTP.~n"),
ok = test_net:start()
tests()
end.
test_ssl() ->
test_ssl:start().
tests() ->
ok = test_net:start(),
io:format("test_net OK.~n"),
ok = test_ssl:start(),
io:format("test_ssl OK.~n"),
ok.

0 comments on commit f7f50a4

Please sign in to comment.