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 9fa7f94 commit 0875909
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 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 ${{ matrix.os }} tests
if: ${{ matrix.os != 'windows-latest' }}
run: script/cibuild

- name: Run ${{ matrix.os }} tests
if: ${{ matrix.os == 'windows-latest' }}
run: script/cibuild.cmd
5 changes: 0 additions & 5 deletions script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

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
Expand Down
7 changes: 7 additions & 0 deletions script/cibuild.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set dir="%cd%"

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

0 comments on commit 0875909

Please sign in to comment.