Hab plan file for windows and linux to build hab pkg #526
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: unit | |
'on': | |
pull_request: | |
push: | |
branches: | |
- main | |
- 18-stable | |
- 17-stable | |
- 16-stable | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | |
ruby: ['2.7', '3.0', '3.1', '3.2'] | |
name: Unit test on ${{ matrix.os }} with Ruby ${{ matrix.ruby }} | |
runs-on: ${{ matrix.os }} | |
env: | |
RUBYOPT: '--disable-error_highlight' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rake spec |