chore: debug fuse310 #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_call: # from release | |
inputs: | |
ref: | |
type: 'string' | |
default: ${{github.ref}} | |
pull_request: | |
branches: | |
- "main" | |
push: | |
branches: # branches that are not used for release-please | |
- "**" | |
- "!main" | |
- "!release-please-action" | |
jobs: | |
build: | |
strategy: | |
matrix: | |
ruby-version: ['3.3'] # TODO restore ['2.7' '3.2', '3.3'] | |
os: ['ubuntu-latest' ] # TODO restore ,'ubuntu-24.04'] # mac-os when/if Macfuse can be deployed on CI images | |
fuse_pkg: ['fuse3'] # TODO restore ['fuse','fuse3'] | |
runs-on: ${{ matrix.os }} | |
env: | |
TERM: color # Pretty spec output | |
GIT_REF: ${{ inputs.ref || github.ref }} | |
GIT_BASE_REF: ${{ github.base_ref || 'undefined' }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ env.GIT_REF }} | |
- name: Preinstall | |
env: | |
FUSE_PKG: ${{ matrix.fuse_pkg }} | |
run: .github/scripts/pre_install_${{runner.os}}.sh | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rake |