57 Commits

Author SHA1 Message Date
dependabot[bot]
5bbcfdef33 build(deps): bump github/codeql-action from 4.36.1 to 4.36.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.36.1 to 4.36.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](87557b9c84...8aad20d150)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-08 13:26:25 +00:00
Marcus Meissner
aceab6545f Merge pull request #1252 from gphoto/dependabot/github_actions/github/codeql-action-4.36.1
build(deps): bump github/codeql-action from 4.36.0 to 4.36.1
2026-06-03 09:58:49 +02:00
dependabot[bot]
02013bd95a build(deps): bump actions/checkout from 6.0.2 to 6.0.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](de0fac2e45...df4cb1c069)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 16:06:31 +00:00
dependabot[bot]
81dfd0b18a build(deps): bump github/codeql-action from 4.36.0 to 4.36.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.36.0 to 4.36.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](7211b7c807...87557b9c84)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 16:06:26 +00:00
dependabot[bot]
570e1b7ced build(deps): bump github/codeql-action from 4.35.5 to 4.36.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.5 to 4.36.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9e0d7b8d25...7211b7c807)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-25 19:35:42 +00:00
dependabot[bot]
842eebb728 build(deps): bump github/codeql-action from 4.35.4 to 4.35.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.4 to 4.35.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](68bde559de...9e0d7b8d25)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 23:17:44 +00:00
dependabot[bot]
59c9399cb2 build(deps): bump github/codeql-action from 4.35.3 to 4.35.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.3 to 4.35.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e46ed2cbd0...68bde559de)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-11 21:09:48 +00:00
dependabot[bot]
fb10a3e918 build(deps): bump github/codeql-action from 4.35.1 to 4.35.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.1 to 4.35.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c10b8064de...e46ed2cbd0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-04 17:16:57 +00:00
dependabot[bot]
607b87d4f5 build(deps): bump github/codeql-action from 4.33.0 to 4.35.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.33.0 to 4.35.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b1bff81932...c10b8064de)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 14:34:48 +00:00
dependabot[bot]
753fe127e2 build(deps): bump github/codeql-action from 4.32.6 to 4.33.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.32.6 to 4.33.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0d579ffd05...b1bff81932)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 13:39:11 +00:00
dependabot[bot]
75c62a477d build(deps): bump github/codeql-action from 4.32.5 to 4.32.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.32.5 to 4.32.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c793b717bc...0d579ffd05)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 14:02:21 +00:00
dependabot[bot]
f3aff22958 build(deps): bump github/codeql-action from 4.31.11 to 4.32.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.11 to 4.32.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](19b2f06db2...c793b717bc)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 14:12:08 +00:00
Marcus Meissner
f5ba2e1e53 Merge pull request #1205 from gphoto/dependabot/github_actions/actions/checkout-6.0.2
build(deps): bump actions/checkout from 6.0.1 to 6.0.2
2026-02-01 12:50:52 +01:00
dependabot[bot]
75c88c4d77 build(deps): bump github/codeql-action from 4.31.10 to 4.31.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.10 to 4.31.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](cdefb33c0f...19b2f06db2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 14:36:17 +00:00
dependabot[bot]
73d3af4321 build(deps): bump actions/checkout from 6.0.1 to 6.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e8c483db8...de0fac2e45)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 14:36:01 +00:00
dependabot[bot]
518dfa8c6f build(deps): bump github/codeql-action from 4.31.9 to 4.31.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.9 to 4.31.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5d4e8d1aca...cdefb33c0f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-12 16:40:35 +00:00
dependabot[bot]
6e1b8e78a0 build(deps): bump github/codeql-action from 4.31.8 to 4.31.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.8 to 4.31.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b168cd394...5d4e8d1aca)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-22 13:10:46 +00:00
Marcus Meissner
dab26fa0b8 use full hashes in actiojns 2025-12-20 16:57:06 +01:00
dependabot[bot]
ca4dcec1c7 build(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [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/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 14:36:19 +00:00
dependabot[bot]
26db9ceed0 build(deps): bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 13:36:34 +00:00
dependabot[bot]
47ee585c13 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 21:30:53 +00:00
Corentin Noël
dca1d2a470 ci: Use Meson build system instead of autotools 2025-05-11 00:12:36 +02:00
Corentin Noël
5f130e2571 Add _DARWIN_C_SOURCE where necessary
Allows to build it for macos without setting _DARWIN_C_SOURCE manually
2025-05-11 00:12:36 +02:00
dependabot[bot]
e1b2daff68 build(deps): bump actions/checkout from 2 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 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/v2...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>
2024-10-15 14:10:50 +02:00
dependabot[bot]
8e8bfa8b1e build(deps): bump github/codeql-action from 1 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 14:10:30 +02:00
axxel
e6af170121 ci: libltdl-dev was of course also missing in the CodeQL workflow 2024-10-10 20:13:07 +02:00
axxel
c8bcf7f0bf ci: fix CI build by add missing libltdl-dev on ubuntu
Looks like they changed the build image...
2024-10-10 20:13:07 +02:00
Hans Ulrich Niedermann
c9e2eb5e51 ci: Start using silent rules 2024-09-19 21:25:13 +02:00
Hans Ulrich Niedermann
4dd0f3a322 ci: Add CI build for macOS
Note that this skips the 'make distcheck' stage due to two reasons:

  * GitHub considers macOS cpu cycles to be very expensive, and
    distcheck basically doubles the build cycles
  * For reasons yet unknown, 'make distcheck' on macOS fails with
    the compiler being unable to create an executable.
2022-11-14 10:36:23 +01:00
Hans Ulrich Niedermann
b361f8f719 ci: Add comment pointing to actionlint
If Github does not accept a workflow YAML file as intended,
actionlint is a very useful tool to help find out what is
wrong in the YAML file.
2022-11-13 17:26:33 +01:00
Hans Ulrich Niedermann
70e5b60e77 ci: Rename CI build 2022-11-13 17:26:33 +01:00
Hans Ulrich Niedermann
ee895a1ff3 ci: Prepare for OS specific build flags 2022-11-13 17:26:31 +01:00
Hans Ulrich Niedermann
2154998cb9 ci: Update step names 2022-11-13 17:24:33 +01:00
Hans Ulrich Niedermann
090d8a10da ci: Prepare for portable concurrent make 2022-11-13 17:24:31 +01:00
Hans Ulrich Niedermann
000d5b9408 ci: Add global LC_ALL and COMMON_CONFIGURE_FLAGS 2022-11-13 17:23:04 +01:00
Hans Ulrich Niedermann
6ce8e19649 ci: Update indentation and quote names 2022-11-11 14:31:36 +01:00
Hans Ulrich Niedermann
bc8eb3b684 gh workflow: Update to actions/checkout@v3 2022-11-09 19:49:20 +01:00
Hans Ulrich Niedermann
8a81970cf8 gh workflow: remove apt-get dist-upgrade
We probably do not need to dist-upgrade (or upgrade), and dist-upgrade
can take a long time on the github runners.

We only had this while trying to work out how to work around the
libgd-dev dependency issue, so we can remove the dist-upgrade step.
2022-09-04 19:13:57 +02:00
Hans Ulrich Niedermann
ff5a43e0a7 gh workflow: work around libgd-dev dependency problem
Work around libgd-dev dependency issue apparently caused by a 3rd party
repository with PHP and nginx and related stuff like libgd.

So we remove nginx and libgd3 to get rid of the relevant 3rd party
packages which pull in their libgd, and only then install libgd-dev
which then comes from Ubuntu proper and works.

As we need neither nginx nor php, this should work for libgphoto2.

This appears to be a reoccuring problem on github runners, so keeping
this workaround in place looks like the way to go for the future.

See also https://github.com/actions/runner-images/issues/6153
and recursively follow the linked issues and comments for more
information.
2022-09-04 19:02:49 +02:00
Hans Ulrich Niedermann
d725bbab44 gh workflow: actually upgrade the system 2022-09-04 00:43:20 +02:00
Hans Ulrich Niedermann
85f2b9fdf5 gh CI workflow: Add "make installcheck" target 2022-05-27 21:46:59 +02:00
Hans Ulrich Niedermann
d1650f14bc gh workflow: Use parallel make for builds
Use parallel make for builds. We use the GNU coreutils'
"nproc" utility to determine the number of cores available
for us to use. We then tell make to launch up to that number
of processes (-j$(nproc)) in parallel, but only if the system
load is below $(nproc) (-l$(nproc)).

That should make reasonably good use of however many cores github
makes available to us, while not overloading the build server
or the build server VM.
2022-05-19 16:59:58 +02:00
Hans Ulrich Niedermann
ea1044dcd6 gh workflow: print nproc to find out whether make -jNN makes sense 2022-05-14 00:16:11 +02:00
Hans Ulrich Niedermann
6d7ed0ea21 Work around github workflow issue with presenting stderr 2022-01-23 16:18:33 +01:00
Hans Ulrich Niedermann
919671c89b CI: build automake based example project
Add automake based example project using libgphoto2 to have
the CI builds ensure that building a libgphoto2 frontend
with this libgphoto2 is possible.
2022-01-23 15:41:05 +01:00
Hans Ulrich Niedermann
774c7c58e7 gh workflow: install libgd-dev 2021-11-03 22:23:30 +01:00
Hans Ulrich Niedermann
dd7b203c1e gh workflows: remove requirements for flex, bison
As 4316f75ed4 has removed gp2ddb
with its use of flex and bison, we do not need flex and bison
any more, and so the github workflows do not need to install
flex and bison either.
2021-08-07 16:56:16 +02:00
Marcus Meissner
7a7c169ba4 install things 2020-10-11 18:48:20 +02:00
Marcus Meissner
6a01cd9d0d Create codeql-analysis.yml 2020-10-11 18:41:24 +02:00
Aiden Leong
05d15ae05a run apt-get update before installing any package 2020-08-27 20:15:39 +08:00