Skip to content

Commit fc1db20

Browse files
committed
update to github actions
1 parent 1dda75c commit fc1db20

File tree

6 files changed

+59
-80
lines changed

6 files changed

+59
-80
lines changed

.appveyor.yml

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

.github/workflows/TagBot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ jobs:
99
- uses: JuliaRegistries/TagBot@v1
1010
with:
1111
token: ${{ secrets.GITHUB_TOKEN }}
12+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
8+
runs-on: ${{ matrix.os }}
9+
continue-on-error: ${{ matrix.version == 'nightly' }}
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
version:
14+
# - '1.0'
15+
- '1.4'
16+
- 'nightly'
17+
os:
18+
- ubuntu-latest
19+
- macOS-latest
20+
- windows-latest
21+
arch:
22+
- x64
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: julia-actions/setup-julia@v1
26+
with:
27+
version: ${{ matrix.version }}
28+
arch: ${{ matrix.arch }}
29+
- uses: julia-actions/julia-buildpkg@latest
30+
- uses: julia-actions/julia-runtest@latest
31+
- uses: julia-actions/julia-uploadcodecov@latest
32+
env:
33+
JULIA_NUM_THREADS: 4
34+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/docs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Documentation
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags: '*'
7+
pull_request:
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: julia-actions/setup-julia@latest
14+
with:
15+
version: '1.4'
16+
- name: Install dependencies
17+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
18+
- name: Build and deploy
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
21+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
22+
run: julia --project=docs/ docs/make.jl

.travis.yml

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

docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Install with the package manager, `pkg> add TensorOperations`.
1919
* Ability to
2020
[optimize pairwise contraction order](https://doi.org/10.1103/PhysRevE.90.033315)
2121
using the `@tensoropt` macro. This optimization is performed at compile time, and the resulting contraction order is hard coded into the resulting expression. The similar macro `@tensoropt_verbose` provides more information on the optimization process.
22-
* **New**: a function `ncon` (for network contractor) for contracting a group of
22+
* A function `ncon` (for network contractor) for contracting a group of
2323
tensors (a.k.a. a tensor network), as well as a corresponding `@ncon` macro that
2424
simplifies and optimizes this slightly. Unlike the previous macros, `ncon` and `@ncon`
2525
do not analyze the contractions at compile time, thus allowing them to deal with
@@ -31,7 +31,7 @@ Install with the package manager, `pkg> add TensorOperations`.
3131
vector are supported. This facilitates tensor contractions where one of the operands is
3232
e.g. a diagonal matrix of singular values or eigenvalues, which are returned as a
3333
`Vector` by Julia's `eigen` or `svd` method.
34-
* **New**: Support for `CuArray` objects if used together with CuArrays.jl, by relying
34+
* Support for `CuArray` objects if used together with CuArrays.jl, by relying
3535
on (and thus providing a high level interface into) NVidia's
3636
[cuTENSOR](https://developer.nvidia.com/cutensor) library.
3737
* Implementation can easily be extended to other types, by overloading a small set of

0 commit comments

Comments
 (0)