Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Nov 15, 2019
0 parents commit a05dd7e
Show file tree
Hide file tree
Showing 14 changed files with 2,107 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: dalance
25 changes: 25 additions & 0 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Periodic

on:
schedule:
- cron: 0 0 * * SUN

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest]
rust: [stable, beta, nightly]

runs-on: ${{ matrix.os }}

steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- name: Checkout
uses: actions/checkout@v1
- name: Run tests
run: cargo test
23 changes: 23 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Regression

on: [push, pull_request]

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
rust: [stable]

runs-on: ${{ matrix.os }}

steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- name: Checkout
uses: actions/checkout@v1
- name: Run tests
run: cargo test
45 changes: 45 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Release

on:
push:
tags:
- 'v*.*.*'

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
rust: [stable]

runs-on: ${{ matrix.os }}

steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- name: Checkout
uses: actions/checkout@v1
- name: Setup MUSL
if: matrix.os == 'ubuntu-latest'
run: |
rustup target add x86_64-unknown-linux-musl
sudo apt-get -qq install musl-tools
- name: Build for linux
if: matrix.os == 'ubuntu-latest'
run: make release_lnx
- name: Build for macOS
if: matrix.os == 'macOS-latest'
run: make release_mac
- name: Build for Windows
if: matrix.os == 'windows-latest'
run: make release_win
- name: Release
uses: softprops/action-gh-release@v1
with:
body: '[Changelog](https://github.com/dalance/svls/blob/master/CHANGELOG.md)'
files: '*.zip'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
**/*.rs.bk
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Change Log

## [Unreleased](https://github.com/dalance/svlint/compare/v0.1.0...Unreleased) - ReleaseDate
Loading

0 comments on commit a05dd7e

Please sign in to comment.