From c38cbc9b15b22dd1c5dcf74cfdadcd39502eb954 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Sat, 15 May 2021 12:15:54 +0200 Subject: [PATCH] Setup Windows CI --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db2454c..abe9e1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,3 +51,27 @@ jobs: run: rake - name: Install gem run: rake install + + windows: + strategy: + fail-fast: false + matrix: + ruby: [ '3.0', '2.7', '2.6', '2.5' ] + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Update Rubygems + run: gem update --system + - name: Install bundler + run: gem install bundler -v '2.2.16' + - name: Install dependencies + run: bundle install + - name: Run test + run: rake + - name: Install gem + run: rake install