Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
nim:
- '1.6.x'
Expand All @@ -40,15 +41,15 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup MSYS2 (Windows)
if: ${{matrix.target == 'windows'}}
if: ${{matrix.os == 'windows'}}
uses: msys2/setup-msys2@v2
with:
path-type: inherit
update: true
install: base-devel git mingw-w64-x86_64-toolchain

- name: Install dependencies (Windows)
if: ${{matrix.target == 'windows'}}
if: ${{matrix.os == 'windows'}}
shell: msys2 {0}
run: |
pacman -Syu --noconfirm
Expand All @@ -62,14 +63,14 @@ jobs:
nimble install -y

- name: Run tests (Linux & OSX)
if: ${{matrix.target != 'windows'}}
if: ${{matrix.os != 'windows'}}
shell: bash
run: |
cd impulse
nimble -y test

- name: Run tests (Windows)
if: ${{matrix.target == 'windows'}}
if: ${{matrix.os == 'windows'}}
shell: msys2 {0}
run: |
cd impulse
Expand All @@ -78,7 +79,7 @@ jobs:
- name: Build docs
if: >
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
matrix.target == 'linux' && matrix.branch == 'devel'
matrix.os == 'linux' && matrix.branch == 'devel'
shell: bash
run: |
cd impulse
Expand All @@ -95,7 +96,7 @@ jobs:
- name: Publish docs
if: >
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
matrix.target == 'linux' && matrix.branch == 'devel'
matrix.os == 'linux' && matrix.branch == 'devel'
uses: crazy-max/ghaction-github-pages@v1
with:
build_dir: impulse/docs
Expand Down
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
build/*
build/**
.idea/**
*.bak
*.orig
* - Copy.*
* - Copy ([0-9]).*
*.png
*.jpg
*.svg
*.mat
*.exe
*.dll
Loading