Skip to content

Commit

Permalink
Add Windows tests to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fenrir-naru committed Jun 26, 2023
1 parent d515bd4 commit fc44ff0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -13,19 +13,25 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
ruby: [2.6, 2.7, '3.0', 3.1, 3.2]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: before_setup
- name: before_setup on Linux
if: runner.os == 'Linux'
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: preparation on Windows
if: runner.os == 'Windows'
run: |
pacman -Syy
pacman -Ssq '\-boost$' | pacman -S --noconfirm -
- name: Run the default task
run: bundle exec rake

0 comments on commit fc44ff0

Please sign in to comment.