61 Commits

Author SHA1 Message Date
Joshua Sing
836c23eb15
scripts/test: reorder setup_cross_compiler, fix head -1 2026-01-25 20:06:32 +11:00
Joshua Sing
09c99a505f
scripts/test: check all binaries for cross-compile
Probably safer to check all of them instead of just CC, since previously
it seems the loongarch64 RANLIB variable could have been wrong.

I am not sure if a missing binary could cause unexpected behaviour.
2026-01-25 16:10:55 +11:00
Joshua Sing
1c945c2e11
scripts/test: remove non-standard sort, tail and find flags 2026-01-25 16:10:09 +11:00
Joshua Sing
3474d66b13
scripts/test: fix missing env vars for cross-compilation 2026-01-25 06:12:27 +11:00
Theo Buehler
cf1a8cf5ba Do not remove opensslconf.h for android 2025-08-26 01:12:22 -06:00
Joshua Sing
090f7892f7
scripts/test: use lib64 for loongarch64 2025-04-13 01:09:48 +10:00
Joshua Sing
a71747c235
scripts/test: revert to using g++-14
It seems `g++-loongarch64-linux-gnu` does not exist in the Ubuntu
universe repositories. It also fails using the ubuntu Docker image
locally (with the universe repo added).

`g++-14-loongarch-linux-gnu` exists on both Ubuntu 22.04 and 24.04,
however ideally we want to use whatever works on the most platforms.
2025-04-12 23:41:15 +10:00
Joshua Sing
f4cc344689
scripts/test: change from g++-14 to g++ 2025-04-12 23:14:48 +10:00
Joshua Sing
24a8faec9a
ci: test on loongarch64 2025-04-12 23:14:44 +10:00
Kenjiro Nakayama
12031e4e9a Move ARCH check 2024-12-18 09:39:26 +09:00
Kenjiro Nakayama
9ed5c54fed update style 2024-12-18 09:24:28 +09:00
Kenjiro Nakayama
3e6153a552 unset CC only for mingw and arm32
Since `scripts/test` always unset "CC", the github action for "clang"
in Linux does not use clang unintentionally.

This patch unset CC only for mingw{32,64} and arm32.
2024-12-18 08:57:15 +09:00
Brent Cook
d88107b386 read VERSION after it is generated by update script 2024-04-08 20:10:31 -05:00
Brent Cook
9091d5551c use a specific version number in test scripts
This avoids issue reported in #1041 with file glob confusing cd.
Also remove extra newline from VERSION when update.sh runs.
2024-04-08 20:05:29 -05:00
Kenjiro Nakayama
73787b1824 Run tests for macos-14 on arm64
macos-12 and macos-13 fails `make test` on arm64 but macos-14 does not.
Hence this patch enables it on github action.
2024-03-21 22:06:39 +09:00
Brent Cook
15d076b475 add ventura and arm64 test targets, remove big sur
This reworks the macOS github actions to target Apple silicon for tests.
To simplify the test matrix, removing big sur and adding ventura.
Also some cleanups to the test script. We really don't need the 'x'
workaround for non-POSIX shells, and it got confusing writing "xx86_64".
2023-07-04 13:09:31 +03:00
Brent Cook
605328314f make it simpler to test on a non-Linux system 2023-05-27 01:20:54 -05:00
Joshua Sing
4fdce0c684
Add CI workflow to run tests with ASM disabled 2023-04-29 01:15:13 +10:00
Brent Cook
dc7d38d52f match CI names in test script 2023-03-23 06:21:32 -05:00
Brent Cook
73d924f643 fix mips/mips64 builds 2023-03-23 06:11:16 -05:00
Brent Cook
ab214b5696 handle i?86 for 32-bit CMake builds 2023-02-27 07:26:07 -06:00
Brent Cook
305d0532ab delete opensslconf.h for each build 2023-02-27 06:27:01 -06:00
Brent Cook
b0310cb34e set CMAKE_SYSTEM_PROCESSOR when cross compiling
handle x86 as option for 32-bit x86 on Windows
2023-02-27 05:48:23 -06:00
Brent Cook
703f430428 add conditional around common apt commands 2023-02-27 04:57:29 -06:00
Brent Cook
1fbc858e1d remove inherited CC env variable, consolidate common setup 2023-02-27 04:19:34 -06:00
Brent Cook
6b59828d6d update cross arch tests for arm/aarch64 2023-02-25 18:20:29 -06:00
catatsuy
a08e4fbb3f update config.sub and config.guess for M1 Mac
config.sub and config.guess on LibreSSL are very old.
To build LibreSSL on M1 Mac, we need to update config.sub.
2022-11-03 15:17:29 +09:00
kinichiro
8a57de6ed0 Set max number of processes for CI 2022-04-29 18:55:44 +09:00
Brent Cook
e55410dc80 update badges, further split out actions by OS, add more Linux targets 2021-05-30 18:10:37 -05:00
kinichiro
3845b1eff4 Use github actions for linux test 2021-05-22 13:31:04 +09:00
kinichiro
dcad94bbc0 Add after_failure script to show failed test log 2021-05-19 21:44:54 +09:00
kinichiro
e8bbbabcc9 Fix Android CI
- Targeted to Android 8.0 (API level 26) and above
- Build for x86_64, x86 and arm64-v8a, stop searching dir for detecting ABI
- Use newer version of ndk and cmake
- Suppress sdkmanager messages to reduce log output
- Add log messages to tell CI running right
2021-05-09 21:33:32 +09:00
Brent Cook
6f38fb483c bump arm library versions 2021-05-01 10:57:12 -05:00
kinichiro
8dd38c066f Fix android build 2020-03-26 20:24:26 +09:00
kinichiro
c5fb18747e typo s/NAPI/NAL/ 2019-01-08 00:00:31 +09:00
kinichiro
983c7fbd0d Add Android build for Travis-CI 2019-01-05 18:10:59 +09:00
kinichiro
779ec4dedc Add ARM build for Travis-CI 2019-01-04 03:05:09 +09:00
Brent Cook
3bcb2e5ff2 enable cmake mingw builds in travis 2019-01-02 06:26:45 -06:00
Don
a1c22d93cd Have travis do shared and static builds 2018-03-21 10:55:55 -07:00
Brent Cook
b5ebbf6b88 adjust mingw package name 2016-11-13 13:10:42 -06:00
Brent Cook
a638d7937d update to trusty distro, remove 3rd-party PPAs for testing 2016-11-13 13:06:28 -06:00
Brent Cook
4a931b58fc add upstream config.guess/config.sub
This adds refreshed OS and CPU detection.
https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html
2015-12-27 22:33:51 -06:00
Brent Cook
a2e532ed01 test cmake builds on osx as well 2015-09-17 05:48:09 -05:00
Brent Cook
53eacb360e extend regression tests
run distcheck rather than just dist, cmake tests
2015-09-17 05:05:53 -05:00
Brent Cook
ef01eb71d1 speed up builds without killing os x perhaps 2015-09-11 09:10:57 -05:00
Brent Cook
b5090c5853 add cmake test support 2015-09-11 08:04:28 -05:00
Brent Cook
1c2a3f25e2 Remove cmake tests from travis builds for now.
This seemed like it should be easy, but apparently there are a lot of
gotchas that need to be ironed out in a branch first.
2015-09-09 07:45:54 -05:00
Brent Cook
e04dfb2b27 fix a couple of travis build failures 2015-09-09 07:34:37 -05:00
Brent Cook
46c9a8de8b revert some travis shell portability tweaks 2015-09-09 07:13:05 -05:00
Brent Cook
f6999fbe4b try ninja on travis linux again 2015-09-09 07:01:05 -05:00