sleep 16ms when using synchronous io on windows for reducing cpu usage #78
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
paths-ignore: | |
- '*.md' | |
- '*.rst' | |
pull_request: | |
paths-ignore: | |
- '*.md' | |
- '*.rst' | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macOS-latest | |
nim-version: | |
- 1.2.0 | |
- 1.4.0 | |
- 1.6.0 | |
- 2.0.0 | |
- devel | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cache choosenim | |
id: cache-choosenim | |
uses: actions/cache@v1 | |
with: | |
path: ~/.choosenim | |
key: ${{ runner.os }}-choosenim-${{ matrix.nim-version}} | |
- name: Cache nimble | |
id: cache-nimble | |
uses: actions/cache@v1 | |
with: | |
path: ~/.nimble | |
key: ${{ runner.os }}-nimble-${{ matrix.nim-version}}-${{ hashFiles('*.nimble') }} | |
- name: Setup nim | |
uses: jiro4989/[email protected] | |
with: | |
nim-version: ${{ matrix.nim-version }} | |
- name: Install Packages | |
run: nimble install -d -y | |
- name: Test | |
run: nimble test --verbose |