Commit Graph

38 Commits

Author SHA1 Message Date
Joachim Wiberg
0cde7cbcc5 .github: bump version of actions for Node.js upgrade
This also refactors the release job to use ncipollo/release-action@v1
instead of the deprecated actions/create-release@v1

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2023-04-22 09:18:07 +02:00
Joachim Wiberg
92066b2b86 .github: don't fail because tree returns non-zero ...
With the change in ubuntu-latest at GitHub, the behavior of the classic
tree command has changed too.  Just ignore any return code, the output
is merely for our viewing pleasure -- ocular inspection.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-12-09 19:10:36 +01:00
Joachim Wiberg
7dc4783af8 .github: install valgrind also for release build
We call `make distcheck` in the release build, so the tests run.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-29 18:41:45 +02:00
Joachim Wiberg
715c52dc21 .github: prefix test logs with current compiler
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-29 16:24:34 +02:00
Joachim Wiberg
abb093c330 .github: create tarball of test logs for upload
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-29 15:59:02 +02:00
Joachim Wiberg
0d02ba63bb .github: need valgrind for new memleak test
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-29 15:47:37 +02:00
Joachim Wiberg
d76b78c873 .github: upload test logs as build artifacts
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-29 15:45:32 +02:00
Joachim Wiberg
d18e485e0a .github: fix example build, relies on configure prefix
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 15:53:51 +01:00
Joachim Wiberg
f2fdc9043a .github: restore Build step and drop pwd debug
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 15:49:08 +01:00
Joachim Wiberg
76942ea6e9 .github: each workflow step resets back to the checked out dir
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 15:42:30 +01:00
Joachim Wiberg
4a3a5d213e .github: debug pwd
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 15:40:27 +01:00
Joachim Wiberg
22bfd79d8d .github: no need to run test with sudo, we use unshare now
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 15:18:28 +01:00
Joachim Wiberg
d0166e505d .github: add missing chmod arg and change --prefix
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 11:01:26 +01:00
Joachim Wiberg
7df454daa8 .github: try working around runner limitations in unshare
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 10:35:56 +01:00
Joachim Wiberg
50307c142c .github: simplify apt-get, from smcroute
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 05:02:28 +01:00
Joachim Wiberg
81eee2185e .github: sync release.yml apt-get with smcroute
Somehow tshark doesn't get installed with the correct permissions to dump loopback.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 04:58:16 +01:00
Joachim Wiberg
558caf1a10 .github: dump test logs from distcheck build directory
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 03:39:27 +01:00
Joachim Wiberg
f7b2479e7d .github: sync release with build, dump result of remote test
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 03:28:33 +01:00
Joachim Wiberg
37e05b6855 .github: add release general to automate release builds
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-08 07:05:56 +01:00
Joachim Wiberg
340538ecaa .github: coverity: change step name to trigger build
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-07-27 00:14:56 +02:00
Joachim Wiberg
48930cd223 .github: add workflow for Coverity Scan (branch: dev)
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-07-27 00:01:53 +02:00
Joachim Wiberg
9d71746c17 .github: build: install systemd unit files in /tmp
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-07-26 23:46:05 +02:00
Joachim Wiberg
5d7c1e18d6 .github: build: install to fixed dir for pkg-config
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-07-26 23:43:01 +02:00
Joachim Wiberg
e89ccd44ec .github: build: rewrite and add clang+gcc build matrix
- add build matrix with both gcc and clang
 - run on all pushes and pull requests, except dev (coverity)
 - use DESTDIR for install, not --prefix
 - check install-strip with tree and ldd+size with usage
 - add example w/ libsyslog, from .travis.yml

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-07-26 23:31:44 +02:00
Joachim Wiberg
fb4412b62c .github: Disable silent rules in build, use install-strip
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-01-14 18:48:30 +01:00
Joachim Nilsson
84115ed4a8
Create FUNDING.yml 2020-04-04 14:05:58 +02:00
Joachim Nilsson
0e7c76c3f5 .github: sudo do-what-I-mean
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-16 13:17:13 +01:00
Joachim Nilsson
753d6f0cda .github: Attempt number 1231245432432 to install packages in runner
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-16 11:21:37 +01:00
Joachim Nilsson
9c05d380f3
Use non-interactive install
Why isn't the runner configured to use this by default?
2019-12-16 11:18:01 +01:00
Joachim Nilsson
722a77857f
Split apt-get update and install in separate steps
Yaml isn't really suited to writing shell scripts :-/
2019-12-16 11:11:42 +01:00
Joachim Nilsson
ce4a3c1f0a
Run apt-get update first 2019-12-16 11:08:57 +01:00
Joachim Nilsson
55a12321c0
Accept any deps. to packages in runner install 2019-12-16 11:00:56 +01:00
Joachim Nilsson
4bbb813f1b
Install tshark in runner 2019-12-16 10:58:39 +01:00
Joachim Nilsson
731078325a Dump contents of certain log files on build failure
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-16 09:35:56 +01:00
Joachim Nilsson
0cd3bf1ee6 Relocate GitHub docs to .github/
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-14 09:48:59 +01:00
Joachim Nilsson
c280058e47
Disable clang-tidy check and SoundClound scan for now 2019-12-14 09:47:00 +01:00
Joachim Nilsson
b3694592cf
Fix action, must run autogen.sh first 2019-12-14 09:40:41 +01:00
Joachim Nilsson
65abc37809
Test GitHub action to build and test code 2019-12-14 09:36:03 +01:00