Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
smoke:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
- name: Build native extension
run: |
cd ext/corkscrew
ruby extconf.rb
make
- name: Run specs
run: bundle exec rspec
- name: Run quick validation
run: ruby -Ilib exe/corkscrew validate --quick
- name: Run independent stats smoke
run: python3 validate/harness/stats_check.py
full-validation:
if: github.event_name == 'workflow_dispatch'
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
- name: Build native extension
run: |
cd ext/corkscrew
ruby extconf.rb
make
- name: Run full validation
run: ruby -Ilib exe/corkscrew validate