Skip to content

Commit

Permalink
Windows CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Feb 10, 2021
1 parent 35055bb commit 2b195bb
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@ jobs:
- name: Install dependencies
run: bundle install

- name: Run tests
- name: Run *nix tests
if: ${{ matrix.os != 'windows-latest' }}
run: script/cibuild

- name: Run Windows tests
if: ${{ matrix.os != 'windows-latest' }}
run: script/cibuild
1 change: 1 addition & 0 deletions ext/commonmarker/comrak
Submodule comrak added at 426c56
7 changes: 1 addition & 6 deletions script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@

set -e

if [ -d /usr/share/rbenv/shims ]; then
export PATH=/usr/share/rbenv/shims:$PATH
export RBENV_VERSION="2.1.7-github"
fi

git submodule sync
git submodule update --init
bundle
bundle exec rake clean
bundle exec rake clean compile
bundle exec rake test
13 changes: 13 additions & 0 deletions script/cibuild.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@echo off

ruby -v
gem -v
bundle -v

git submodule sync
git submodule update --init
bundle
bundle exec rake clean compile
bundle exec rake test

@echo on

0 comments on commit 2b195bb

Please sign in to comment.