Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new binary Artifact infrastructure #187

Merged
merged 13 commits into from
Nov 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,9 @@ task:
name: FreeBSD
env:
matrix:
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "false"
JULIA_VERSION: 1.0
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "true"
JULIA_VERSION: 1.0
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "false"
JULIA_VERSION: 1.2
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "true"
JULIA_VERSION: 1.2
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "false"
JULIA_VERSION: 1.3
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "true"
JULIA_VERSION: 1.3
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "false"
JULIA_VERSION: nightly
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "true"
JULIA_VERSION: nightly
install_script:
- if [ "${JULIA_SPECIALFUNCTIONS_BUILD_SOURCE}" = "true" ]; then pkg install -y gmake gcc; fi
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
build_script:
- cirrusjl build
Expand Down
2 changes: 0 additions & 2 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,5 @@ local Pipeline(os, arch, version) = {

[
Pipeline("linux", "arm", "1.3"),
Pipeline("linux", "arm64", "1.0"),
Pipeline("linux", "arm64", "1.2"),
Pipeline("linux", "arm64", "1.3")
]
28 changes: 0 additions & 28 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,6 @@ steps:
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.0

platform:
os: linux
arch: arm64

steps:
- name: build
image: julia:1.0
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.2

platform:
os: linux
arch: arm64

steps:
- name: build
image: julia:1.2
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.3
Expand Down
18 changes: 2 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,10 @@ language: julia
os:
- linux
- osx
addons:
apt_packages:
- gfortran
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew cask uninstall oclint;
brew install gcc;
fi
julia:
- 0.7
- 1.0
- 1.2
- 1.3
- nightly
env:
matrix:
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE=true
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE=false

notifications:
email: false
#script: # the default script is equivalent to the following
Expand All @@ -32,7 +18,7 @@ after_success:
jobs:
include:
- stage: "Documentation"
julia: 1.0
julia: 1.3
os: linux
script:
- julia --project=docs/ -e 'using Pkg;
Expand Down
8 changes: 3 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ uuid = "276daf66-3868-5448-9aa4-cd146d93841b"
version = "0.8.0"

[deps]
BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
OpenSpecFun_jll = "efe28fd5-8261-553b-a9e1-b2916fc3738e"

[compat]
BinaryProvider = "≥ 0.5.0"
julia = "≥ 0.7.0"
julia = "1.3"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.3 hasn't even been released yet. I don't think we should drop support for 1.0 and later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you propose to use the new infrastructure?
People can still use SpecialFunctions on < Julia 1.3 . This was partly my question #187 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can also branch and backport bugfixes to versions compatible with < Julia 1.3?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you propose to use the new infrastructure?

Don't bother yet, at least until 1.3 is released and we're confident that there won't be necessary bugfixes or anything that apply to previous versions of Julia.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway I think it's good to have these early pull requests to test the new framework and maybe let brave users try it if they want 🙂

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, don't really expected this to get merged - But I needed it anyways as a fork ;)

OpenSpecFun_jll = "0.5.3"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ eta, zeta, digamma, inverse digamma, trigamma, and polygamma functions.
Most of these functions were formerly part of Base in early versions of Julia.

This package downloads and builds [openspecfun](https://github.com/JuliaLang/openspecfun).
Binaries are available for macOS, Windows, FreeBSD, and Linux (glibc >= 2.6).
To force compilation of the library from source, set an environment variable called
`JULIA_SPECIALFUNCTIONS_BUILD_SOURCE` equal to `true` before running `Pkg.build`.
Binaries are available for macOS, Windows, FreeBSD, and Linux (glibc >= 2.6 and musl).

| System | Test Status |
| :----- | :---------: |
Expand Down
3 changes: 0 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
environment:
matrix:
- julia_version: 0.7
- julia_version: 1.0
- julia_version: 1.2
- julia_version: 1.3
- julia_version: latest

Expand Down
154 changes: 0 additions & 154 deletions deps/build.jl

This file was deleted.

Loading