Skip to content

Commit

Permalink
ci: add a fedora job to the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Sep 13, 2023
1 parent 6cf86a3 commit bc8ed3f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bc8ed3f

Please sign in to comment.