Skip to content

fix: clear build-time pkg-config path from rbconfig #290

fix: clear build-time pkg-config path from rbconfig

fix: clear build-time pkg-config path from rbconfig #290

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: "${{ github.ref }}"
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
syntax:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
- name: Validate recipes
run: bin/validate-recipes
- name: Check Ruby syntax
run: |
ruby -c libexec/package.rb
ruby -c libexec/validate_recipes.rb
ruby -c libexec/update_ruby_recipe.rb
build:
needs: syntax
if: github.event_name == 'pull_request'
uses: ./.github/workflows/build.yml
with:
version: 3.4.1
final:
needs:
- syntax
- build
runs-on: ubuntu-latest
timeout-minutes: 1
if: always()
steps:
- name: Check CI job results
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1