Skip to content

Commit

Permalink
Master to be (#82)
Browse files Browse the repository at this point in the history
* add docs

* docs

* add docs

* add docs

* add example in the docs

* add the docs

* change the theme in docs

* add the docs

* add docs

* add the docs

* add the docs

* algorithm and example  in docs

* add newest version

* newest version

* add png images

* removed version req for SpinGlass packages

* update julia version

* add some pictures to docs

* remove old files

* update CI workflow

* update ignore

* cleanup test launcher

* update ignore

* cleanup of project deps

* udpate documenter workflow

* uncomment deployment

* update reexport

* cleanup docs env

* make docs fix

* remove files used for build

* update engine version

---------

Co-authored-by: annamariadziubyna <[email protected]>
Co-authored-by: annamariadziubyna <[email protected]>
Co-authored-by: tomsmierz <[email protected]>
  • Loading branch information
4 people authored May 2, 2024
1 parent 1eb227f commit 7afba4d
Show file tree
Hide file tree
Showing 117 changed files with 6,567 additions and 16,271 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,41 @@
name: CI
on:
- push
- pull_request
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
name: Julia ${{ matrix.version }}
runs-on: [self-hosted,titan,gpu]
strategy:
fail-fast: false
matrix:
version:
- '1.7'
- '1.8'
os:
- ubuntu-latest
- macOS-latest
arch:
- x64
- '1.9'
- '1.10'
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
JULIA_NUM_THREADS: 4
- uses: julia-actions/julia-processcoverage@v1
# - uses: codecov/codecov-action@v1
# with:
# file: lcov.info
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
parallel: true
flag-name: run-${{ matrix.version }}
finish:
needs: test
runs-on: [self-hosted,titan]
steps:
- name: Close parallel build
uses: coverallsapp/github-action@v1
with:
parallel-finished: true
carryforward: "run-1.9,run-1.10"
16 changes: 12 additions & 4 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,18 @@ jobs:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.5'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.add("Documenter"); Pkg.add("DocumenterCitations"); Pkg.add(PackageSpec(path=pwd())); Pkg.instantiate();'
version: '1.10'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --project=docs/ docs/make.jl
run: |
julia --project -e '
println("--- :julia: Instantiating project")
using Pkg
Pkg.instantiate()
Pkg.activate("docs")
Pkg.instantiate()
push!(LOAD_PATH, @__DIR__)
println("+++ :julia: Building documentation")
include("docs/make.jl")'
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ docs/build
**/.DS_Store
Manifest.toml
sysimage.so
docs/build
docs/src/sge
docs/src/sgn
docs/src/sgt
22 changes: 8 additions & 14 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
name = "SpinGlassPEPS"
uuid = "2c514f87-1261-494e-8566-326879aaf4fe"
version = "0.3.0"
version = "1.0.0"

[deps]
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SpinGlassEngine = "0563570f-ea1b-4080-8a64-041ac6565a4e"
SpinGlassExhaustive = "a894d7c4-7f54-4100-9d77-d00d924adeb3"
SpinGlassNetworks = "b7f6bd3e-55dc-4da6-96a9-ef9dbec6ac19"
SpinGlassTensors = "7584fc6a-5a23-4eeb-8277-827aab0146ea"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"

[compat]
Reexport = "1.0"
SpinGlassEngine = "0.4"
SpinGlassNetworks = "0.3"
SpinGlassTensors = "0.3"
julia = "1.7, 1.8"
SpinGlassEngine = "1.0.1"
SpinGlassExhaustive = "1.0.0"
SpinGlassNetworks = "1.1.2"
SpinGlassTensors = "1.1.1"
julia = "1.9, 1.10"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"



[targets]
test = ["Test", "Pkg"]
test = ["Pkg"]
17 changes: 13 additions & 4 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
LabelledGraphs = "605abd48-4d17-4660-b914-d4df33194460"
MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5"
SpinGlassEngine = "0563570f-ea1b-4080-8a64-041ac6565a4e"
SpinGlassExhaustive = "a894d7c4-7f54-4100-9d77-d00d924adeb3"
SpinGlassNetworks = "b7f6bd3e-55dc-4da6-96a9-ef9dbec6ac19"
SpinGlassPEPS = "2c514f87-1261-494e-8566-326879aaf4fe"
SpinGlassTensors = "7584fc6a-5a23-4eeb-8277-827aab0146ea"

[compat]
SpinGlassEngine = "0.1"
SpinGlassNetworks = "0.1"
SpinGlassTensors = "0.1"
Documenter = "1.4.0"
DocumenterTools = "0.1.19"
Graphs = "1.9.0"
LabelledGraphs = "0.4.4"
MetaGraphs = "0.7.2"
SpinGlassEngine = "1.0.1"
SpinGlassNetworks = "1.1.2"
SpinGlassTensors = "1.1.1"
julia = "1.9, 1.10"
152 changes: 0 additions & 152 deletions docs/juliadynamics-dark.scss

This file was deleted.

Loading

0 comments on commit 7afba4d

Please sign in to comment.