Skip to content

Commit

Permalink
ci: move ruby-head tests into upstream workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jul 27, 2024
1 parent 3c36b20 commit 472491c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
ruby: ["2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "head"]
ruby: ["2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
exclude:
# I can't figure out how to install these on macos through setup-ruby
- ruby: "2.3"
Expand Down
25 changes: 22 additions & 3 deletions .github/workflows/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,26 @@ on:
- .github/workflows/upstream.yml # this file

jobs:
skeleton:
runs-on: ubuntu-latest
test-unit:
env:
MAKEFLAGS: -j2
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
ruby: ["head"]
runs-on: ${{ matrix.platform }}
steps:
- run: echo "Hello, World!"
- name: configure git crlf on windows
if: matrix.platform == 'windows-latest'
run: |
git config --system core.autocrlf false
git config --system core.eol lf
- uses: actions/checkout@v4
- uses: MSP-Greg/setup-ruby-pkgs@v1
with:
apt-get: _update_ build-essential cmake
mingw: _upgrade_ cmake
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test:unit

0 comments on commit 472491c

Please sign in to comment.