Skip to content

Commit

Permalink
add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ba0f3 committed Sep 27, 2023
1 parent 8278f63 commit c79f9af
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: build

on:
push:
paths-ignore:
- 'LICENSE'
- '*.md'
branches:
- master
pull_request:
paths-ignore:
- 'LICENSE'
- '*.md'

jobs:
test-actions-on-cross-platform:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
version:
- 1.6.14
- stable
- devel
exclude:
- os: macOS-latest
version: 1.4.0
- os: macOS-latest
version: devel
- os: windows-latest
version: 1.4.0
- os: windows-latest
version: devel
steps:
- uses: actions/checkout@v3
- uses: ./
with:
nim-version: ${{ matrix.version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Print Nim version
run: nim -v
- name: Print Nimble version
run: nimble -v
- name: Install dependences
run: nimble develop -Y
- name: Run tests
run: nimble test -Y

0 comments on commit c79f9af

Please sign in to comment.