From d90257c3b34c863eb768dfff2430a8fe0ef30fc4 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sun, 10 Sep 2023 13:29:05 -0400 Subject: [PATCH] ci: add a fedora job to the test suite --- .github/workflows/ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 502092e..245d6b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,5 +67,22 @@ jobs: - uses: actions/cache@v3 with: path: examples/ports/archives - key: ${{ matrix.platform }}-examples-${{ hashFiles('examples/Rakefile') }} + key: examples-${{ hashFiles('examples/Rakefile') }} + - run: bundle exec rake test:examples + + fedora: # see https://github.com/flavorjones/mini_portile/issues/118 + runs-on: ubuntu-latest + container: + image: fedora:35 + steps: + - run: | + dnf group install -y "C Development Tools and Libraries" + dnf install -y ruby ruby-devel libyaml-devel git-all patch cmake xz + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: examples/ports/archives + key: examples-${{ hashFiles('examples/Rakefile') }} + - run: bundle install + - run: bundle exec rake test:unit - run: bundle exec rake test:examples