aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
Commit message (Collapse)AuthorAgeFilesLines
* add codeberg ci and cleanup github one (#311)NRK2022-06-161-45/+13
| | | | | | | | | | | | | | | | | | - apt-get is slow, takes up ~1m40s just to install deps, fix it by not using it. instead use alpine linux for codeberg ci, which brings build time down to 25s. - And since alpine uses musl, it's probably a good idea to use it on our ci since it might catch us using any glibc extensions. The github ci can keep using ubuntu. - remove duplication of CFLAGS by having it on a separate file instead. - remove pull_request from github ci since we no longer accept PRs there. Closes: https://codeberg.org/nsxiv/nsxiv/issues/307 Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/311 Reviewed-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr> Reviewed-by: TAAPArthur <taaparthur@noreply.codeberg.org>
* Move over to codeberg (#293)NRK2022-06-111-0/+21
| | | | Reviewed-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
* Declare every extern function/variable in `nsxiv.h` (#268)N-R-K2022-05-031-2/+4
| | | | | | | | with a couple exceptions as they cause too many -Wshadow warnings. also moves the `extcmd_t` typedef on top for cosmetic purposes. also enable `-Wmissing-prototypes` in the ci
* Makefile: cleanup non-posix stuff (#225)N-R-K2022-02-271-14/+8
| | | | | | | | | | remove some non-posix extensions which slipped through and adjust ci to new Makefile changes users can still overwrite the variables explicitly by using `make VAR=VALUE` packagers can also add extra libs to LDLIBS, we're internally using NSXIV_LDLIBS now.
* Fix broken ci and enable higher level optimization (#220)N-R-K2022-02-201-0/+6
| | | | | | | | | * [ci] fix broken ci * [ci] enable higher optimization level and lto higher optimization levels enable more warnings and deeper analysis. likewise, lto can catch a couple errors which typically goes unnoticed without it.
* [ci] separate dep from buildNRK2022-01-061-9/+13
| | | | | removes /dev/null redirections from the dep step so in case some dep fails to install/compile we will have the log.
* [ci] fetch tcc from a known working commitNRK2022-01-061-5/+7
| | | | avoids our ci failing in case there's a faulty new commit on tcc.
* add additional warning and -Werror to github workflowNRK2022-01-061-0/+18
|
* add github actions (#195)NRK2021-12-291-0/+41
this runs both default and minimal build with gcc, clang and tcc.