File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -406,3 +406,38 @@ jobs:
406406 with :
407407 paths : " test/reports/TEST-*.xml"
408408 if : always()
409+
410+ install_macos :
411+ strategy :
412+ fail-fast : false
413+ matrix :
414+ ruby-version :
415+ - 2.7
416+ - " 3.0"
417+ - 3.1
418+ - 3.2
419+ - 3.3
420+
421+ name : Install on Mac OS (M1)
422+ runs-on : macos-14
423+ steps :
424+ - uses : actions/checkout@v4
425+
426+ - name : Install FreeTDS
427+ run : brew install freetds
428+ shell : bash
429+
430+ - uses : ruby/setup-ruby@v1
431+ with :
432+ ruby-version : ${{ matrix.ruby-version }}
433+
434+ - name : Build gem
435+ shell : bash
436+ run : gem build tiny_tds.gemspec
437+
438+ - name : Install gem and test if TinyTDS loads
439+ shell : bash
440+ run : |
441+ gemVersion=$(<VERSION tr -d '[:space:]')
442+ gem install --local "tiny_tds-$gemVersion.gem"
443+ ruby -e "require 'tiny_tds'; puts TinyTds::Gem.root_path"
You can’t perform that action at this time.
0 commit comments