Skip to content

Commit

Permalink
Add .gitignore and non-avx ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Feb 5, 2021
1 parent d2921a2 commit a0f27bf
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
82 changes: 82 additions & 0 deletions .github/workflows/ci-noavx2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: CI
on:
pull_request:
branches:
- master
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/workflows/TagBot.yml'
- 'benchmark/**'
push:
branches:
- master
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/workflows/TagBot.yml'
- 'benchmark/**'
tags: '*'
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.5'
- '1'
- 'nightly'
os:
- macOS-latest
threads:
- '5'
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: ${{ matrix.threads }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: doctest
using StrideArrays
doctest(StrideArrays)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.DS_Store
/docs/build/
/docs/site/
*.jl.cov
*.jl.*.cov
*.jl.mem
*~
*.mem
*.mod
*.mod0
*.so
*.s
*#
*.jld2
*#*
*#*#

0 comments on commit a0f27bf

Please sign in to comment.