Owen Ou
69e27dde73
Only enable CI when push to master & tag
2023-07-01 12:03:29 -07:00
Owen Ou
6cce62dfa9
Select gcc binaries to release
2023-07-01 11:46:41 -07:00
Owen Ou
25a0608a64
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
2023-07-01 11:23:31 -07:00
Owen Ou
4c15a17bf6
Enable all tests for Windows
2023-07-01 11:23:31 -07:00
Owen Ou
d295348dcb
Add matrix to test all available GH Actions images
2023-07-01 11:23:31 -07:00
Owen Ou
b47d0162c0
Also install flex for Windows build
2023-07-01 11:23:31 -07:00
Owen Ou
fc505694a7
Locate bison for Windows build
2023-07-01 11:23:31 -07:00
Owen Ou
493ca3e252
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 .
2023-07-01 11:23:31 -07:00