Add nightly Julia to GitHubActions plugin (#124)
This commit is contained in:
parent
761dfe534d
commit
a57bd160c3
@ -22,7 +22,7 @@ const EXTRA_VERSIONS_DOC = "- `extra_versions::Vector`: Extra Julia versions to
|
||||
x64=true,
|
||||
x86=false,
|
||||
coverage=true,
|
||||
extra_versions=$DEFAULT_CI_VERSIONS_NO_NIGHTLY,
|
||||
extra_versions=$DEFAULT_CI_VERSIONS,
|
||||
)
|
||||
|
||||
Integrates your packages with [GitHub Actions](https://github.com/features/actions).
|
||||
@ -43,9 +43,6 @@ $EXTRA_VERSIONS_DOC
|
||||
!!! note
|
||||
If using coverage plugins, don't forget to manually add your API tokens as secrets,
|
||||
as described [here](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets#creating-encrypted-secrets).
|
||||
|
||||
!!! note
|
||||
Nightly Julia is not supported.
|
||||
"""
|
||||
@with_kw_noshow struct GitHubActions <: BasicPlugin
|
||||
file::String = default_file("github", "workflows", "ci.yml")
|
||||
@ -56,7 +53,7 @@ $EXTRA_VERSIONS_DOC
|
||||
x64::Bool = true
|
||||
x86::Bool = false
|
||||
coverage::Bool = true
|
||||
extra_versions::Vector = DEFAULT_CI_VERSIONS_NO_NIGHTLY
|
||||
extra_versions::Vector = DEFAULT_CI_VERSIONS
|
||||
end
|
||||
|
||||
source(p::GitHubActions) = p.file
|
||||
@ -64,7 +61,7 @@ destination(p::GitHubActions) = joinpath(".github", "workflows", p.destination)
|
||||
|
||||
tags(::GitHubActions) = "<<", ">>"
|
||||
|
||||
badges(p::GitHubActions) = Badge(
|
||||
badges(::GitHubActions) = Badge(
|
||||
"Build Status",
|
||||
"https://github.com/{{{USER}}}/{{{PKG}}}.jl/workflows/CI/badge.svg",
|
||||
"https://github.com/{{{USER}}}/{{{PKG}}}.jl/actions",
|
||||
|
@ -31,8 +31,8 @@ jobs:
|
||||
<</E_VERSION>>
|
||||
<</EXCLUDES>>
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: julia-actions/setup-julia@latest
|
||||
- uses: actions/checkout@v2
|
||||
- uses: julia-actions/setup-julia@v1
|
||||
with:
|
||||
version: ${{ matrix.version }}
|
||||
arch: ${{ matrix.arch }}
|
||||
@ -53,8 +53,8 @@ jobs:
|
||||
name: Documentation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: julia-actions/setup-julia@latest
|
||||
- uses: actions/checkout@v2
|
||||
- uses: julia-actions/setup-julia@v1
|
||||
with:
|
||||
version: '1.0'
|
||||
- run: julia --project=docs -e '
|
||||
|
@ -11,6 +11,7 @@ jobs:
|
||||
version:
|
||||
- '1.0'
|
||||
- '1.3'
|
||||
- 'nightly'
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macOS-latest
|
||||
@ -18,8 +19,8 @@ jobs:
|
||||
arch:
|
||||
- x64
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: julia-actions/setup-julia@latest
|
||||
- uses: actions/checkout@v2
|
||||
- uses: julia-actions/setup-julia@v1
|
||||
with:
|
||||
version: ${{ matrix.version }}
|
||||
arch: ${{ matrix.arch }}
|
||||
|
@ -11,6 +11,7 @@ jobs:
|
||||
version:
|
||||
- '1.0'
|
||||
- '1.3'
|
||||
- 'nightly'
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macOS-latest
|
||||
@ -18,8 +19,8 @@ jobs:
|
||||
arch:
|
||||
- x64
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: julia-actions/setup-julia@latest
|
||||
- uses: actions/checkout@v2
|
||||
- uses: julia-actions/setup-julia@v1
|
||||
with:
|
||||
version: ${{ matrix.version }}
|
||||
arch: ${{ matrix.arch }}
|
||||
@ -29,8 +30,8 @@ jobs:
|
||||
name: Documentation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: julia-actions/setup-julia@latest
|
||||
- uses: actions/checkout@v2
|
||||
- uses: julia-actions/setup-julia@v1
|
||||
with:
|
||||
version: '1.0'
|
||||
- run: julia --project=docs -e '
|
||||
|
@ -12,6 +12,7 @@ jobs:
|
||||
- '1.0'
|
||||
- '1.2'
|
||||
- '1.3'
|
||||
- 'nightly'
|
||||
os:
|
||||
- macOS-latest
|
||||
- windows-latest
|
||||
@ -22,8 +23,8 @@ jobs:
|
||||
- os: macOS-latest
|
||||
arch: x86
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: julia-actions/setup-julia@latest
|
||||
- uses: actions/checkout@v2
|
||||
- uses: julia-actions/setup-julia@v1
|
||||
with:
|
||||
version: ${{ matrix.version }}
|
||||
arch: ${{ matrix.arch }}
|
||||
|
Loading…
Reference in New Issue
Block a user