mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
b0b7614daf
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>
33 lines
728 B
YAML
33 lines
728 B
YAML
name: decnum
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
disabled:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
- name: Install packages
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y automake autoconf libtool
|
|
- name: Build
|
|
run: |
|
|
autoreconf -i
|
|
./configure \
|
|
--disable-docs \
|
|
--disable-maintainer-mode \
|
|
--disable-decnum
|
|
make -j"$(nproc)"
|
|
file ./jq
|
|
- name: Test
|
|
run: |
|
|
diff <(echo 100000000000000000000 | ./jq) <(echo 1e+20)
|
|
git diff --exit-code
|