This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
143 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
local Pipeline(os, arch, version) = { | ||
kind: "pipeline", | ||
name: os+" - "+arch+" - Julia "+version, | ||
platform: { | ||
os: os, | ||
arch: arch | ||
}, | ||
steps: [ | ||
{ | ||
name: "build", | ||
image: "julia:"+version, | ||
commands: [ | ||
"apt-get update", | ||
"apt-get install -y xvfb xauth", | ||
"xvfb-run julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'" | ||
] | ||
} | ||
], | ||
trigger: { | ||
branch: ["master"] | ||
} | ||
}; | ||
|
||
[ | ||
# Pipeline("linux", "arm", "1.3"), | ||
Pipeline("linux", "arm64", "1.3"), | ||
Pipeline("linux", "arm64", "1.5") | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,41 @@ | ||
--- | ||
kind: pipeline | ||
name: linux - arm - Julia 1.3 | ||
name: linux - arm64 - Julia 1.3 | ||
|
||
platform: | ||
os: linux | ||
arch: arm | ||
arch: arm64 | ||
|
||
steps: | ||
- name: build | ||
image: julia:1.3 | ||
commands: | ||
- "apt-get update" | ||
- "apt-get install -y xvfb xauth" | ||
- apt-get update | ||
- apt-get install -y xvfb xauth | ||
- "xvfb-run julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'" | ||
|
||
trigger: | ||
branch: | ||
- master | ||
|
||
--- | ||
kind: pipeline | ||
name: linux - arm64 - Julia 1.3 | ||
name: linux - arm64 - Julia 1.5 | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: build | ||
image: julia:1.3 | ||
image: julia:1.5 | ||
commands: | ||
- "apt-get update" | ||
- "apt-get install -y xvfb xauth" | ||
- apt-get update | ||
- apt-get install -y xvfb xauth | ||
- "xvfb-run julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'" | ||
|
||
trigger: | ||
branch: | ||
- master | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.drone.jsonnet linguist-detectable=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
name: TagBot | ||
on: | ||
schedule: | ||
- cron: 0 * * * * | ||
issue_comment: | ||
types: | ||
- created | ||
workflow_dispatch: | ||
jobs: | ||
TagBot: | ||
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: JuliaRegistries/TagBot@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
ssh: ${{ secrets.DOCUMENTER_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: "master" | ||
tags: ["*"] | ||
pull_request: | ||
release: | ||
|
||
jobs: | ||
test: | ||
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
julia-version: | ||
- "1.3" | ||
- "1" | ||
- "nightly" | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
julia-arch: | ||
- x64 | ||
- x86 | ||
include: | ||
- os: ubuntu-latest | ||
prefix: xvfb-run | ||
# 32-bit Julia binaries are not available on macOS | ||
exclude: | ||
- os: macOS-latest | ||
julia-arch: x86 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
arch: ${{ matrix.julia-arch }} | ||
- name: Cache artifacts | ||
uses: actions/cache@v2 | ||
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@latest | ||
- uses: julia-actions/julia-runtest@v1 | ||
with: | ||
prefix: ${{ matrix.prefix }} | ||
- uses: julia-actions/julia-uploadcodecov@v0.1 | ||
continue-on-error: true | ||
- uses: julia-actions/julia-uploadcoveralls@v0.1 | ||
continue-on-error: true | ||
|
||
Documentation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: 1 | ||
- name: Cache artifacts | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-artifacts | ||
with: | ||
path: ~/.julia/artifacts | ||
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/docs/Project.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-test-${{ env.cache-name }}- | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- uses: julia-actions/julia-docdeploy@v1 | ||
with: | ||
prefix: xvfb-run | ||
env: | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters