Skip to content

Commit b32132c

Browse files
authored
Merge pull request #159 from DilumAluthge/dpa/ci-improvements
[WIP] Several improvements related to CI and GitHub Actions
2 parents 38b169c + 7d60138 commit b32132c

File tree

4 files changed

+35
-41
lines changed

4 files changed

+35
-41
lines changed

.appveyor.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/TagBot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 * * * *
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
57
jobs:
68
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
710
runs-on: ubuntu-latest
811
steps:
912
- uses: JuliaRegistries/TagBot@v1
1013
with:
1114
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/ci.yml

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
version:
18-
# - '1.5'
19-
- '1'
18+
- '1.5'
19+
- '1' # automatically expands to the latest stable 1.x release of Julia.
2020
- 'nightly'
2121
os:
2222
- ubuntu-latest
23+
- windows-latest
2324
arch:
2425
- x64
2526
steps:
@@ -52,6 +53,31 @@ jobs:
5253
- uses: julia-actions/setup-julia@v1
5354
with:
5455
version: '1'
56+
- run: julia --color=yes -e 'using Pkg; VERSION >= v"1.5-" && !isdir(joinpath(DEPOT_PATH[1], "registries", "General")) && Pkg.Registry.add("General")'
57+
shell: bash
58+
env:
59+
JULIA_PKG_SERVER: ""
60+
- run: |
61+
julia --project=docs -e '
62+
using Pkg
63+
Pkg.develop(PackageSpec(path=pwd()))
64+
Pkg.instantiate()'
65+
- run: julia --project=docs docs/make.jl
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
69+
doctests:
70+
name: Doctests
71+
runs-on: ubuntu-latest
72+
steps:
73+
- uses: actions/checkout@v2
74+
- uses: julia-actions/setup-julia@v1
75+
with:
76+
version: 'nightly'
77+
- run: julia --color=yes -e 'using Pkg; VERSION >= v"1.5-" && !isdir(joinpath(DEPOT_PATH[1], "registries", "General")) && Pkg.Registry.add("General")'
78+
shell: bash
79+
env:
80+
JULIA_PKG_SERVER: ""
5581
- run: |
5682
julia --project=docs -e '
5783
using Pkg
@@ -62,7 +88,3 @@ jobs:
6288
using Documenter: doctest
6389
using LoopVectorization
6490
doctest(LoopVectorization)'
65-
- run: julia --project=docs docs/make.jl
66-
env:
67-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://chriselrod.github.io/LoopVectorization.jl/stable)
44
[![Latest](https://img.shields.io/badge/docs-latest-blue.svg)](https://chriselrod.github.io/LoopVectorization.jl/latest)
5-
[![Build Status](https://travis-ci.com/chriselrod/LoopVectorization.jl.svg?branch=master)](https://travis-ci.com/chriselrod/LoopVectorization.jl)
6-
[![Build Status](https://ci.appveyor.com/api/projects/status/github/chriselrod/LoopVectorization.jl?svg=true)](https://ci.appveyor.com/project/chriselrod/LoopVectorization-jl)
5+
[![Build Status](https://github.com/chriselrod/LoopVectorization.jl/workflows/CI/badge.svg)](https://github.com/chriselrod/LoopVectorization.jl/actions?query=workflow%3ACI)
76
[![Codecov](https://codecov.io/gh/chriselrod/LoopVectorization.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/chriselrod/LoopVectorization.jl)
87

98
## Installation

0 commit comments

Comments
 (0)