From 6e6b368fc0d6d91291ae684cca3b2ec469e77659 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Fri, 7 Jun 2024 22:21:43 -0400 Subject: [PATCH] dev: make sure clobber removes all autoconf-generated files and make sure autoconf is installed in the basic ubuntu container in CI --- .github/workflows/ci.yml | 1 + rakelib/gumbo.rake | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f17a12cdb..5c255c0dd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,7 @@ jobs: - uses: actions/checkout@v1 # v1 because of https://github.com/actions/checkout/issues/334 with: submodules: true + - run: apt install -y autoconf - run: bundle install --local || bundle install - run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries - run: bundle exec rake test diff --git a/rakelib/gumbo.rake b/rakelib/gumbo.rake index fadfadf891..4ced662127 100644 --- a/rakelib/gumbo.rake +++ b/rakelib/gumbo.rake @@ -35,9 +35,11 @@ namespace "gumbo" do CLOBBER.add(gtest_pkg) CLOBBER.add(gumbotest_configure) CLOBBER.add("gumbo-parser/Makefile.in") - CLOBBER.add("gumbo-parser/configure") CLOBBER.add("gumbo-parser/src/Makefile.in") CLOBBER.add("gumbo-parser/test/Makefile.in") + CLOBBER.add("gumbo-parser/build-aux/*") + CLOBBER.add("gumbo-parser/autom4te.cache") + CLOBBER.add("gumbo-parser/aclocal.m4") end desc "Run the gumbo parser test suite"