Mattias Wadman
afe0afaf06
ci: Remove unnecessary apt-get upgrade ( #3082 )
...
Causes update to irrelevant packages and added flakeyness
Fixes #3066
2024-03-28 14:01:03 +01:00
dependabot[bot]
2381d15d3e
Bump the official-actions group with 2 updates ( #2998 )
...
* Bump the official-actions group with 2 updates
Bumps the official-actions group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact ) and [actions/download-artifact](https://github.com/actions/download-artifact ).
Updates `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 )
Updates `actions/download-artifact` from 3 to 4
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: official-actions
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: official-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix CI workflow for updating artifact actions to v4
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: itchyny <itchyny@cybozu.co.jp>
2024-01-09 09:33:26 +09:00
itchyny
56828b6d04
Always build Docker image on CI, group Dependabot PRs for official actions ( #2997 )
...
* Always build docker image on CI
* Revert "Bump actions/download-artifact from 3 to 4"
This reverts commit 9e2695e117aef8403fa0c5b32ee0f26cb442862a.
* Group Dependabot PRs for official actions
2023-12-19 17:54:53 +09:00
dependabot[bot]
9e2695e117
Bump actions/download-artifact from 3 to 4
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-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 15:18:47 +01:00
Emanuele Torre
19453a60cf
ci.yml: use sysctl -n hw.logicalcpu instead of nproc on macos
...
The "macos (arm64)" runner on github does not have nproc.
/Users/runner/work/_temp/f44f0d9f-19eb-4a23-860e-26533d7efdfa.sh: line 10: nproc: command not found
2023-12-11 22:02:42 +01:00
itchyny
d14393f552
Keep releasing executables with legacy names
2023-11-28 22:51:20 +01:00
dependabot[bot]
de1c10ca8a
Bump docker/setup-qemu-action from 2 to 3 ( #2900 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
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-18 18:20:43 +09:00
dependabot[bot]
a5afeea0a6
Bump docker/setup-buildx-action from 2 to 3 ( #2901 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
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-18 18:20:20 +09:00
dependabot[bot]
b0b7614daf
Bump actions/checkout from 1 to 4 ( #2902 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 1 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/v1...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-18 18:19:51 +09:00
Kamontat Chantrachirathumrong
d3a356fa1c
Fix checksum file spacing for shasum command ( #2899 )
2023-09-17 20:55:56 +09:00
dependabot[bot]
fb493df018
Bump crazy-max/ghaction-import-gpg from 5 to 6
...
Bumps [crazy-max/ghaction-import-gpg](https://github.com/crazy-max/ghaction-import-gpg ) from 5 to 6.
- [Release notes](https://github.com/crazy-max/ghaction-import-gpg/releases )
- [Commits](https://github.com/crazy-max/ghaction-import-gpg/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: crazy-max/ghaction-import-gpg
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 13:43:44 +02:00
dependabot[bot]
f3a46a62de
Bump docker/metadata-action from 4 to 5
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md )
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 13:42:32 +02:00
dependabot[bot]
e69398ea0f
Bump docker/build-push-action from 4 to 5
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 13:41:27 +02:00
dependabot[bot]
dfd930f81a
Bump docker/login-action from 2 to 3
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 13:40:33 +02:00
itchyny
5ea1a4ab3b
Disable core.autocrlf on Windows to prevent submodule diffs ( fix #2886 ) ( #2888 )
2023-09-15 20:08:20 +09:00
Mattias Wadman
fdab39bc7b
Build windows 64bit binary using UCRT64 ( #2832 )
...
* Build windows 64bit binary using UCRT64
Is the default and recommended msystem setting. Will produce
binaries that are compatible with windows 10 and later.
Also run tests for 32bit build.
Related to #2831
* Use jq -b in tests/shtest
* Add Windows strptime
* Make Windows-optional tests not run on Windows again
---------
Co-authored-by: Nicolas Williams <nico@cryptonector.com>
2023-08-12 20:18:45 +02:00
Nicolas Williams
ff4bf68b29
Enable stack protection (CI release executables)
2023-08-02 12:19:19 -05:00
Owen Ou
161ab0402b
Fix typo in CI env vars for Linux build ( #2810 )
...
For some reason, the env vars are set correctly without refering the variable in `matrix` case-sensitvely:
```
2023-08-01T05:05:58.4626090Z env:
2023-08-01T05:05:58.4626367Z AR: arm-linux-gnueabihf-ar
2023-08-01T05:05:58.4626690Z CHOST: arm-linux-gnueabihf
2023-08-01T05:05:58.4626961Z CC: arm-linux-gnueabihf-gcc
2023-08-01T05:05:58.4627332Z CPP: arm-linux-gnueabihf-cpp
2023-08-01T05:05:58.4627662Z CXX: arm-linux-gnueabihf-g++
```
For clarify, we update them to match the definitions. Besides, `CXX` is
not needed and removed.
2023-08-01 07:32:52 -07:00
itchyny
d319eb2187
Fix PR creation by using fully qualified refname on release
2023-07-28 17:47:51 +09:00
itchyny
5b9d0750db
Fix PR creation by specifying the branch on release
2023-07-28 10:25:06 +09:00
itchyny
b33725c96e
Fix gh pr create option on release
2023-07-28 10:04:35 +09:00
itchyny
72f147e82e
Fix release job to create a pull request for signatures
2023-07-27 19:18:16 -05:00
itchyny
4160a36fb5
Commit GPG signatures on release
2023-07-27 17:01:24 -05:00
Mattias Wadman
54fef09ac3
Make maintainer-mode default to disabled
...
This makes the standard build instructions a bit easier,
just ./configure, and also requires less tools installed (bison).
Also i think few people probably want to generate the lexer and paser code.
2023-07-24 11:26:17 -05:00
itchyny
e0e1b2293e
Enable verbose output of make check
2023-07-21 19:49:48 -05:00
itchyny
092fef740a
Make sure distcheck passes and run dist job on Pull Request
2023-07-13 10:20:04 -05:00
Owen Ou
4ff63d9365
Add checksums.txt for release
...
Add checksums.txt for release
2023-07-10 23:59:07 -05:00
itchyny
841445eea7
Build Docker image using pre-built executables ( #2686 )
2023-07-10 16:15:01 +09:00
Owen Ou
ce3701fe52
Cross compile for Linux, MacOS and Windows on CI ( #2665 )
2023-07-10 08:05:25 +09:00
itchyny
9014c212e8
Release Docker image to GitHub Container Registry ( #2652 )
2023-07-05 04:33:57 +09:00
itchyny
7d424fd52e
Fix release workflow tag trigger pattern ( #2651 )
2023-07-04 16:00:25 +09:00
itchyny
2270e208d2
Improve Dockerfile: update base image and optimize image size ( #2649 )
...
Also, drop ineffectual flags from configure.
2023-07-04 16:00:04 +09:00
itchyny
3847ebb699
Create dist and upload on release also disable docs on build ( #2648 )
2023-07-03 21:05:21 +09:00
itchyny
5ae04c0f52
Strip debug information from executables ( fix #1221 ) ( #2647 )
2023-07-03 08:46:35 +09:00
Owen Ou
44a0f3448a
Release pipeline ( #2620 )
...
* Release pipeline
* Group CI builds for different OSes into `ci.yml`.
* Add release job to release `jq` when tag is in the format of v*.
* Use `clang` as the only compiler on CI.
* Provide extensible matrix for future cross-compile builds, e.g.
for https://github.com/jqlang/jq/pull/2618 .
* Locate bison for Windows build
* Also install flex for Windows build
* Add matrix to test all available GH Actions images
* Enable all tests for Windows
* Run `brew update-reset` when `brew update` fails
`brew update` can fail for "Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed!"
Ref: https://github.com/owenthereal/jq/actions/runs/5432314910/jobs/9879266028#step:3:19
* Select gcc binaries to release
* Only enable CI when push to master & tag
* Try out statick build
* No need to enforce the same `AM_INIT_AUTOMAKE` version for MacOS
* Disable static build for ubuntu-20.04
See https://github.com/jqlang/jq/pull/2620#discussion_r1248936822
2023-07-02 10:48:26 -07:00