2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Benoit Pierre
9162a8d69c ci/macos: drop Python setup
We don't need it (not yet, since we don't use meson).
2024-07-19 22:43:42 +02:00
Benoit Pierre
41f4b1f2ac ci/macos: trim build dependencies
We actually don't need luarocks anymore for building (just testing).
2024-06-11 21:34:40 +02:00
Benoit Pierre
5dfdbd06eb ci/macos: silence brew warnings 2024-06-11 21:34:40 +02:00
Benoit Pierre
1105f83557 ci/macos: add arm64 job 2024-06-11 21:34:40 +02:00
Benoit Pierre
2f0e456a42 ci/macos: dump binaries runtime path & dependencies
Useful information for investigating issues with the bundle.
2024-05-30 07:54:22 +02:00
Benoit Pierre
4750b4a4cd ci/macos: drop unnecessary build dependencies 2024-05-29 22:02:06 +02:00
Benoit Pierre
404c7c0dfe ci: update build directory trimming before caching 2024-05-29 22:02:06 +02:00
Benoit Pierre
ea538900ba ci/macos: install ninja 2024-05-14 10:33:21 +02:00
Benoit Pierre
b2d495fcdd ci: force color output 2024-05-14 10:33:21 +02:00
Benoit Pierre
0aaa8e7c5b ci/macos: drop unnecessary permissions stanza 2024-05-14 10:33:21 +02:00
Benoit Pierre
f82cc31717 ci/macos: add caching to speedup workflow 2024-05-14 10:33:21 +02:00
Benoit Pierre
a12b075e07 ci/macos: avoid concurrent workflow runs on the same ref 2024-05-14 10:33:21 +02:00
Benoit Pierre
087ddd1510 ci: small macOS cleanups
Reduce differences with the configuration used on koreader-base.
2024-04-30 22:59:50 +02:00
Benoit Pierre
7392dd2ad4 ci: tweak macOS CI checkout phase
Use the same parameters as for the koreader-base job (faster).
2024-04-30 22:59:50 +02:00
Benoit Pierre
54ded2c578 ci: fix macOS build
Work around the fact that the lua@5.1 brew formula has been disabled.

Additionally, drop ragel (no necessary anymore).
2024-04-30 22:59:50 +02:00
dependabot[bot]
9d94ab38f3
[CI] Bump actions/upload-artifact from 3 to 4 (#11242)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 11:13:00 +01:00
dependabot[bot]
df19c2a0da
Bump actions/checkout from 3 to 4 (#10890)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 16:49:39 +02:00
yparitcher
f588edd9b1
mac: github actions macos-13 (#10404)
github no longer supports 10.15 so use 13 just to ensure the build does not break
2023-05-14 15:02:01 -04:00
Frans de Jonge
1a3a210392
Revert "[CI] Set macOS Github Action to macOS 12.00 (#9856)" (#9864)
This reverts commit 991b6ab48b.
2022-12-06 08:46:11 +01:00
Jason Benwell
991b6ab48b
[CI] Set macOS Github Action to macOS 12.00 (#9856)
Doing a debug build using MACOSX_DEPLOYMENT_TARGET=12.00 produces a build that seems to work. The debug part isn't optimal but at least it builds and runs.
2022-12-02 20:43:45 +01:00
Martín Fernández
30e499d4a9
[CI] Downgrade macOS Github Action to macOS 10.15 (#9279)
Both BigSur and Monterey produce a broken `crengine.dylib`.

Only github actions are affected as local builds seem to work just fine: https://github.com/koreader/koreader/issues/8686#issuecomment-1166656492
2022-07-04 12:17:33 +02:00
dependabot[bot]
2fb45b2c6d
[CI] Bump actions/upload-artifact from 2 to 3 (#9214)
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)
2022-06-15 09:43:43 +02:00
dependabot[bot]
bdbc130cfe
[CI] Bump actions/checkout from 2 to 3 (#9215)
- [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/v2...v3)
2022-06-15 09:38:09 +02:00
Naveen
ee080d63b7
chore: Set permissions for GitHub actions (#9207)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)
2022-06-14 19:31:42 +02:00
sayomelu
adea668aed
[CI] Update macOS GitHub Action to macOS 11 (#8525) 2021-12-26 13:27:10 +01:00
NiLuJe
995668ac02
Unbreak macOS build (#7313)
* Bump base

https://github.com/koreader/koreader-base/pull/1308
https://github.com/koreader/koreader-base/pull/1310

* Include bison in macOS build deps

Apparently something in gettext is possibly unhappy with the hilariously
outdated stock version (2.3).
2021-02-18 23:46:29 +01:00
NiLuJe
04a980649f
kodev: Use getopt instead of a hand-rolled hack (#6980)
* Update log android to match the current issue template
* Fix GUI gdb frontends getting wrecked by the older glib library we ship w/
KOReader
* Slightly more aggressive valgrind defaults
  It's slower, but interpreting results without leak-check=full ends up
  costing more time than just running with it.
* Add a callgrind shortcut
* Use getopt instead of a hand-rolled hack for option parsing
* Make it clearer that complex args should be quoted
* Document prompt
* Add a Valgrind suppression file for libdrm/mesa on AMD hardware
  Because mesa/libdrm isn't built w/ -D valgrind=enabled on Gentoo,
  and Valgrind is very much not happy with mesa ;p.
* Allow toggling reader.lua's sane return mode
  (Enabled automatically under gdb/valgrind).
  Should hopefully weed out some noise from valgrind reports.
* Propagate reader.lua's return code
* Sim a few other common devices
* Handle assigning values to short options with an equal instead of a space, like the previous solution
  (This is purely for backward compatibility purposes, this is a syntax that'd fail with the C getopt, too).
* Add gnu-getopt to the build requirement on macOS, because of course everything is terrible.
2020-12-18 18:26:32 +01:00
Martín Fernández
4345201e0e
[CI] Mac OS app (#6955)
* use 7z instead of dmg
* osx: use always writable paths
2020-12-11 15:16:29 +01:00