Commit Graph
30 Commits
Author SHA1 Message Date
Jon Shallow fb4b5f33f2 New Issue: Update / clarify requirements when submitting an Issue 2023-07-03 12:12:19 +01:00
Jon Shallow 9920d3e295 pre-commit: Add in initial support
Add in github workflow.

Add in .pre-commit-config.yaml.

Updated man directory using pre-commit.

Others to follow.
2023-07-03 08:57:09 +01:00
Jon Shallow 8d869fff04 RIOT: Update to support latest libcoap code
Add in examples and pkg/build information
2023-06-05 12:47:15 +01:00
Jon Shallow 964bd69481 MinGW: Initial compile environment support 2023-04-12 10:06:46 +01:00
Jon Shallow 59e9434518 workflows: Support Windows changed OpenSSL directory
No longer need choco to install install OpenSSL as it is in loaded image.
2023-04-07 14:51:11 +01:00
Jon Shallow 1db3683cef github workflows: Support Ubuntu 22.04 images
Fix issues thrown up with ubuntu-latest moving to ubuntu-22.04.

clang 14+ generates dwarf-5 code which valgrind does not currently support
so downgrade to output dwarf-4.

Use ./autogen.sh for tinydtls builds rather than 'autorecond --force --install'

Remove some spurios } in the workflow
2022-11-22 21:30:18 +00:00
Jon Shallow c56ac32c86 cifuzz.yml: Run when code is pushed to develop or main etc.
Matches main.yml on: statement for push.

on: pull_request removed so that it is not run for every PR, just the
develop, main and release branches.
2022-11-22 14:17:25 +00:00
David Korczynski 74f1858cfb github workflow: add CIFuzz Github action
Signed-off-by: David Korczynski <david@adalogics.com>
2022-11-22 08:52:22 +00:00
Jon Shallow 7b39908e82 LwIP: Add in TinyDTLS support
The dtls versions of the server and client are built as
server-dtls and client-dtls.

Add in flexible option support for server and client.  These are
a subset of the coap-server and coap-client options.
2022-10-29 13:26:43 +01:00
Jon Shallow bbf098a72a main.yml: Update actions/checkout to be v3 2022-10-19 17:24:03 +01:00
Jon Shallow 6a633e3d49 CMake: Force all Warnings to Errors when doing github actions
Add new option WARNING_TO_ERROR for CMakeLists.txt

Includes cmake builds for Windows and macOS
[Fix coap-client S_ISDIR() duplication bug]
2022-09-30 17:25:00 +02:00
Jon Shallow df72a53f2d coap_openssl.c: Support Microsoft VS builds
Correct reported errors

Update workflow for ms-build to include OpenSSL.
2022-02-21 12:37:44 +00:00
Jon Shallow 5b32d716fa github workflow: Support windows-2022
The provided host for windows-latest is migrating across from
windows-2019 to windows-2022 on github.  This allows things to be built on
a windows-2022 system.
2022-02-09 21:44:37 +00:00
Jon Shallow 9357720646 config.yml: Tidy up / Clarify documentation 2021-06-04 12:02:57 +01:00
Jon Shallow 25f4f24477 Issue Reporting: Add in Issue Templates to get better Issue information 2021-06-04 10:02:11 +01:00
Olaf Bergmann 27c7d2d4b6 [CI] rename stable branch to main
This change updates the name of the stable branch in .travis
and .github/main.yml to main.
2021-04-21 17:54:37 +02:00
Jon Shallow 4ac724334f build: Add in installation check 2021-04-09 18:55:01 +01:00
Jon Shallow a524b2341c build: Add in Visual Studio build
Update Windows build files to include a build that does not use OpenSSL
(called NoTLS).

Include this build in the github workflow.
2021-03-17 16:55:07 +00:00
Jon Shallow c8ab318e48 Ubuntu 20.4: Fix builds as Ubuntu 20.4 will be used by github workflows
.github/workflows/main.yml:

Build all the cmake TLS variants.

CMakeLists.txt:

Add in missing file.

examples/tiny.c:
include/coap2/encode.h:

Move COAP_PSEUDOFP_ENCODE_8_4 functions from encode.h to tiny.c.
Fix COAP_PSEUDOFP_ENCODE_8_4_DOWN 'ls' ordering complaint.

man/examples-code-check.c:

Fix compile warning, allow 'Unused but set variables' in examples and set
-Werror when compling the examples.

examples/lwip/Makefile:

Remove  compilation option -fpack-struct
2021-03-01 15:47:55 +00:00
Jon Shallow dc6c5e6b00 workflow: Add in distribution and CMake checks
.github/workflows/main.yml:

Do a 'make check' for matrix builds.
Move documentation into separate job to reduce matrix build times
Add in CMake job.
Add in distribution job.
Add in tinydtls job.
Add in contiki/lwip job.

scripts/github_dist.sh:

Do the distribution checks using a script.

examples/etsi_iot_01.c:
examples/tiny.c:

Fix include coap.h directory in old examples.

README.md:

Update status badges to get only the branch actions and remove CMake
status badge.
2021-02-24 18:15:25 +00:00
Olaf Bergmann 4185e6215f [CI] main.yml: Enable building on all relevant events and branches 2021-02-12 13:01:39 +01:00
Olaf Bergmann 961afc742e [CI] main.yml: Set -Werror in compile matrix 2021-02-12 12:44:50 +01:00
Olaf Bergmann 16ea2dca63 [CI] main.yml: Enable more checks 2021-02-12 12:44:47 +01:00
Olaf Bergmann 391be3176e [CI] main.yml: Run unit tests with valgrind 2021-02-12 12:40:44 +01:00
Olaf Bergmann 57a5a7e089 [CI] main.yml: basic build steps 2021-02-12 12:09:01 +01:00
Olaf Bergmann 5bcb0a1578 Revert ".github: removed consistently failing github workflow"
This reverts commit 610c3f6bf2.
2021-02-12 12:09:01 +01:00
Olaf Bergmann 610c3f6bf2 .github: removed consistently failing github workflow
The github workflow fails very often due to broken setup or timeouts,
therefore it has been disabled for now.
2020-10-20 21:08:47 +02:00
Jon Shallow ef0903adce travis: Fix cmake builds
Make sure that "apt-get update" is called before "apt-get install".
2020-05-04 10:29:49 +01:00
Carlos Gomes Martinho 7e9a7fb3e6 ci: run github ci on PR 2020-04-24 15:20:28 +02:00
Carlos Gomes Martinho e191e2d726 build: add cmake support 2020-04-22 17:07:24 +02:00