Hamish Coleman
0545a54b13
Allow windres to run when cross compiling
1 year ago
Hamish Coleman
3e47641630
Actually test the zstd support before editing the transform_zstd
1 year ago
Hamish Coleman
edaebf3b46
Ensure that data from failed tests is not overwritten by other jobs
1 year ago
Hamish Coleman
6f7da048fb
Add one more missing package
2 years ago
Hamish Coleman
f3a2344353
Add a CI test build with lots of options turned on
2 years ago
Hamish Coleman
6b4a9c4387
Remove duplicated build targets
2 years ago
Hamish Coleman
4e2b9e0a91
First, build the project - allowing build errors to easily show up
2 years ago
Hamish Coleman
39b9c6b1c0
Enable tests on newer github images
2 years ago
Hamish Coleman
9618512c8f
Give up and cache the entire openwrt buildchain
2 years ago
Hamish Coleman
8e172d94ea
Nothing needs to dep on the smoketest
2 years ago
Hamish Coleman
0867fd1a7c
One more try to avoid building all the kmod packages
2 years ago
Hamish Coleman
c3f5d69020
In fact, we can start more builds sooner
2 years ago
Hamish Coleman
4b9397a1b0
Fix the cache key. Also adjust the deps - the openwrt build is the longest, so start it sooner
2 years ago
Hamish Coleman
731be7e257
Use caching to try to speed up openwrt builds. Build openwrt statically
2 years ago
Hamish Coleman
c824c5d2cd
Name the openwrt builds the same as the expected package name
2 years ago
Hamish Coleman
780d1edfb8
Add a amd64 OpenWrt build for more testing
2 years ago
Hamish Coleman
40f4b04bb2
Add quicker OpenWrt build to regular builds.
Use the upstream build environment to speed up the compiling of OpenWrt
ipk packages. (And minor doc updates after running this.
2 years ago
Hamish Coleman
914c450641
Address more github workflow lint concerns
2 years ago
Hamish Coleman
b104f4a72d
Address lint concern
2 years ago
Hamish Coleman
fadafabd66
Address github workflow lint concerns
2 years ago
Hamish Coleman
b1d2396cb9
Disable faling test - unreproducible locally, appears to be a github issue
2 years ago
Hamish Coleman
b9cf4cbe73
Provide ability to investigate build errors
Upload the test results so they can be examined outside of the CI system
2 years ago
Hamish Coleman
a2a8c3d4ee
Add some analysis tools
3 years ago
Logan oos Even
0f15271736
removed abandoned Windows 2016 runner ( #971 )
3 years ago
Hamish Coleman
75a205ec69
Only need to keep the tests output if there has been a failure
3 years ago
Hamish Coleman
9cc04d6b28
Limit code coverage to unit tests - any integration tests should not be considered as coverage
3 years ago
Hamish Coleman
028d6f9b07
Harmonise configuration defaults ( #937 )
* Ensure all options start off for cmake too
* Attempt to make the build time config logic in the cmake process match the makefile process
* Add a simple muscle memory helper for cmake
* Ask them what they are smoking, then tell them to put it out
* Avoid occasional stale package cache errors
3 years ago
Hamish Coleman
4f568b03c1
Autoconf simplification ( #927 )
* Convert zstd feature to default disable
* All autoconf test use one standard template
To simplify the testing, cross-compilation and repeatable build process,
no configure options are automatically probed for - they all default to
off and are all using the same template.
The --with-x options should be deprecated and replaced with --enable-x
because there is no syntax checking for --with options in autoconf.
There are still some differences between the config options, but this
should provide a starting point.
* Remove unused code from the autoconf
* Remove warnings from default build
* Avoid calling port mapping functions if none are enabled
* Start with all builds in neutral config
* Add more missing code guards
* Adjust code guard location to placate cmake
3 years ago
Hamish Coleman
c0cfe93726
How many commits to fetch? Github says 'meh'
The right number of commits to fetch is enough to be able to create
a `git describe` result - basically back until the most recent parent
annotated tag.
However, the github action/checkout@v2 only allows a simple number,
which is basically the answer to "how long is a piece of string"
3 years ago
Hamish Coleman
142f23bd50
Apply tags fix from https://github.com/actions/checkout/issues/290 to all checkouts
3 years ago
Hamish Coleman
9f7ea89229
Remove debugging outputs
3 years ago
Hamish Coleman
5055259171
Output correct debug data...
3 years ago
Hamish Coleman
02f341df87
Add a debugging job to show the get tagtype data quicker in the workflow
3 years ago
Hamish Coleman
3c3a848dc2
Re-add much of the debug output
3 years ago
Hamish Coleman
5b5fe587ae
Attempt to fix github tags in each job
See https://github.com/actions/checkout/issues/290 for some discussion.
3 years ago
Hamish Coleman
f2f49111b7
Add reference to a ticket for this problem
3 years ago
Hamish Coleman
88bd8e566f
Fix clone command, removing the half removed old fetch-based command
3 years ago
Hamish Coleman
d8fa2ef9da
Return the tags check to the releases, use our own clone and remove all the debug output
3 years ago
Hamish Coleman
11512fe1c8
Fix spelling
3 years ago
Hamish Coleman
a4f5b18308
Of course, nobody has a standard git repo layout, so need to jump more hoops
3 years ago
Hamish Coleman
d9d524a8d8
Add more debug data output
3 years ago
Hamish Coleman
e709997b3c
Abandon using the github checkout action, it is clearly at fault
3 years ago
Hamish Coleman
23ef8e4bfe
Adjust pull command to pull.rebase=false
3 years ago
Hamish Coleman
3e2be20614
Try returning to the 'normal' command, after force pulling the correct repo data
3 years ago
Hamish Coleman
6395aa4fbc
Getting closer, it clearly showed the upstream had a different view than this checkout
3 years ago
Hamish Coleman
71021abd97
Try a different way to fetch the right tag data
3 years ago
Hamish Coleman
9b081805f5
Add more tag debugging output
3 years ago
Hamish Coleman
55c063513d
Shorten line to address yamllint warning
3 years ago
Hamish Coleman
1adbdc9a00
Avoid exitcode triggering job failure
3 years ago
Hamish Coleman
e63b0f3c53
Attempt to work around strage git behaviour in github
3 years ago