-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit f6ad52e
Showing
8 changed files
with
4,959 additions
and
0 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,33 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
JULIA_PKG_SERVER: | ||
PYTHON: | ||
|
||
jobs: | ||
test: | ||
timeout-minutes: 20 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: ['1.10', '1', 'pre'] | ||
arch: [x64] | ||
os: [ubuntu-latest] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v2 | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
arch: ${{ matrix.arch }} | ||
- run: | | ||
mkdir -p ~/.ssh | ||
ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
ssh-agent -a $SSH_AUTH_SOCK > /dev/null | ||
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}" | ||
- run: julia -e 'using Pkg; pkg"registry add General [email protected]:aplavin/MyRegistry.git"' | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 |
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,54 @@ | ||
name: Export Pluto notebooks | ||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
PYTHON: | ||
|
||
jobs: | ||
build-and-deploy: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Julia | ||
uses: julia-actions/setup-julia@v2 | ||
with: | ||
version: 1 | ||
|
||
- run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev xsettingsd x11-xserver-utils | ||
|
||
- run: | | ||
mkdir -p ~/.ssh | ||
ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
ssh-agent -a $SSH_AUTH_SOCK > /dev/null | ||
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}" | ||
- run: julia -e 'using Pkg; pkg"registry add General [email protected]:aplavin/MyRegistry.git"' | ||
|
||
- name: Run & export Pluto notebooks | ||
run: | | ||
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia -e 'using Pkg | ||
Pkg.activate(mktempdir()) | ||
Pkg.add([ | ||
Pkg.PackageSpec(name="PlutoSliderServer", version="0.3.2-0.3"), | ||
Pkg.PackageSpec(name="MsgPack"), | ||
]) | ||
import PlutoSliderServer | ||
PlutoSliderServer.github_action("."; | ||
Export_cache_dir="pluto_state_cache", | ||
Export_baked_notebookfile=false, | ||
Export_baked_state=false, | ||
# more parameters can go here | ||
)' | ||
- name: Deploy to gh-pages | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: . |
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,3 @@ | ||
# Docs for MakieExtra.jl | ||
|
||
This repo is separate from https://github.com/JuliaAPlavin/MakieExtra.jl to keep that git repo small, without any image/video examples. |
Binary file not shown.
Oops, something went wrong.