Thiago Macieira
ff7a23a8f1
CI: Disable building the tools for macOS small
...
CI / macos-15-intel/clang (push) Canceled after 0s
CI / ubuntu-latest/clang (push) Canceled after 0s
CI / ubuntu-latest/linux-g++ (push) Canceled after 0s
CI / macos-latest/clang-small (push) Canceled after 0s
CI / ubuntu-latest/clang-small (push) Canceled after 0s
CI / ubuntu-latest/gcc-small (push) Canceled after 0s
CI / ubuntu-latest/gcc-no-math (push) Canceled after 0s
CI / ubuntu-latest/gcc-freestanding (push) Canceled after 0s
The build fails after the transition to Apple silicon and I don't know
why:
```
: && /usr/bin/clang -Oz -g -Werror -arch arm64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names tools/json2cbor/CMakeFiles/json2cbor.dir/json2cbor.c.o -o tools/json2cbor/json2cbor libtinycbor.a -lcjson -lm && :
ld: library 'cjson' not found
```
Homebrew says it installed and CMake says it found it.
```
-- Checking for module 'libcjson'
-- Found libcjson, version 1.7.19
```
I won't investigate.
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2026-02-05 15:01:24 -08:00
Thiago Macieira
9487c1b3b4
CI: update the macOS images to more modern versions
...
macos-13 no longer exists in GitHub Actions.
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2026-02-05 14:07:12 -08:00
dependabot[bot]
17362494e2
Bump actions/checkout from 5 to 6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-24 09:47:16 -08:00
dependabot[bot]
3982a3e853
Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-12 10:02:40 -07:00
Thiago Macieira
e0b0be8cf6
CI: add an ASan step and split the small-build from test runs
...
The static builds with -Os or -Oz are there only so we get the library
size in the output. For testing, let's compile as a shared library and
properly in debug mode.
For Linux, we've had Valgrind. For macOS, this is now an ASan build.
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2025-03-18 17:04:11 -07:00
Thiago Macieira
cb58547aa9
CI: enable -Werror
...
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2025-03-18 17:04:11 -07:00
Thiago Macieira
b91dc8af00
CI: switch testing to using CMake
...
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2025-03-18 17:04:11 -07:00
Thiago Macieira
ba42254b01
Enable CI checking in the dev branch too
...
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2025-02-07 12:52:14 -08:00
Thiago Macieira
26c63e3d59
CI: add 'permissions' token to the GitHub actions file
...
Intel says this is needed
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2024-05-13 13:27:59 -07:00
Thiago Macieira
268a61ed17
Makefile: disable cJSON support when building without math support
...
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2024-05-01 18:35:40 -07:00
Thiago Macieira
64ce7adff0
CI: Run the configure step in verbose mode and print the config output
...
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2024-05-01 18:29:45 -07:00
Thiago Macieira
ccdd9c1cf4
CI: unbreak macOS: need to have CXX set
...
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2024-05-01 18:29:45 -07:00
Thiago Macieira
db9f29d499
CI/Makefile: do allow Qt 6
...
I don't think we need to worry about Qt 4 any more.
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2024-05-01 18:29:45 -07:00
Thiago Macieira
ffc3bd6f84
CI: remove Valgrind on macOS: it doesn't work
...
```
==21147== Valgrind: debuginfo reader: ensure_valid failed:
==21147== Valgrind: during call to ML_(img_get)
==21147== Valgrind: request for range [18446744069408125024, +16) exceeds
==21147== Valgrind: valid image size of 140733057859584 for image:
==21147== Valgrind: "/usr/local/Cellar/icu4c/74.2/lib/libicudata.74.2.dylib"
```
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2024-05-01 18:29:45 -07:00
Thiago Macieira
24de1b065d
CI: Get Homebrew to use a bottle (precompiled) Qt
...
Homebrew no longer carries precompiled versions of Qt for macos-11, so
switch to macos-13, the last on x86 CPUs (so we can still run
Valgrind). It's also going away after the end of June.
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com >
2024-05-01 18:29:45 -07:00
Peter A. Jonsson
4dcad260cb
CI: add Github CI
2024-05-01 16:43:17 -07:00
Peter A. Jonsson
c8e12e9075
CI: add dependabot configuration
...
Dependabot can provide automatic pull requests
for things in the repository that should
be updated.
Example PR from dependabot against a repo owned
by the github organization:
https://github.com/github/opensource.guide/pull/2248
Documentation:
https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates
2024-05-01 16:43:17 -07:00