* 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>
42 lines
955 B
YAML
42 lines
955 B
YAML
name: valgrind
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
linux:
|
|
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 upgrade
|
|
sudo apt-get install -y automake autoconf libtool valgrind
|
|
- name: Build
|
|
run: |
|
|
autoreconf -i
|
|
./configure \
|
|
--disable-docs \
|
|
--with-oniguruma=builtin
|
|
make -j"$(nproc)"
|
|
file ./jq
|
|
- name: Test
|
|
run: |
|
|
make check VERBOSE=yes
|
|
git diff --exit-code
|
|
- name: Upload Test Logs
|
|
if: ${{ failure() }}
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: test-logs-valgrind-linux
|
|
retention-days: 7
|
|
path: |
|
|
test-suite.log
|
|
tests/*.log
|