File tree Expand file tree Collapse file tree 4 files changed +32
-22
lines changed Expand file tree Collapse file tree 4 files changed +32
-22
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+ - develop
9
+
10
+ jobs :
11
+ test :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Setup Docker
16
+ run : |
17
+ docker version
18
+ docker-compose version
19
+ docker build -t slurm-cluster-julia -f ci/Dockerfile .
20
+ docker-compose -f ci/docker-compose.yml up -d
21
+ docker ps
22
+ - name : Test Docker
23
+ run : |
24
+ docker exec -t slurmctld pwd
25
+ docker exec -t slurmctld ls -l
26
+ docker exec -t slurmctld srun -n 4 hostname
27
+ - name : Test SlurmClusterManager
28
+ run : |
29
+ docker exec -t slurmctld julia -e 'using Pkg; Pkg.build(verbose=true)'
30
+ docker exec -t slurmctld julia -e 'using Pkg; Pkg.test()'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# SlurmClusterManager.jl
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /kleinhenz/SlurmClusterManager.jl.svg?branch=master )] ( https://travis-ci.org /kleinhenz/SlurmClusterManager.jl )
3
+ [ ![ Build Status] ( https://github.com /kleinhenz/SlurmClusterManager.jl/workflows/CI/badge .svg?branch=master )] ( https://github.com /kleinhenz/SlurmClusterManager.jl/actions )
4
4
5
5
This package provides support for using julia within the Slurm cluster environment.
6
6
The code is adapted from [ ClusterManagers.jl] ( https://github.com/JuliaParallel/ClusterManagers.jl ) with some modifications.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ MAINTAINER Joseph Kleinhenz <jkleinh@umich.edu>
3
3
4
4
RUN mkdir -p /home/docker/.local/opt/julia \
5
5
&& cd /home/docker/.local/opt/julia \
6
- && curl -L https://julialang-s3.julialang.org/bin/linux/x64/1.4 /julia-1.4.1 -linux-x86_64.tar.gz | tar xz --strip 1
6
+ && curl -L https://julialang-s3.julialang.org/bin/linux/x64/1.6 /julia-1.6.0 -linux-x86_64.tar.gz | tar xz --strip 1
7
7
8
8
ENV PATH="/home/docker/.local/opt/julia/bin:${PATH}"
9
9
You can’t perform that action at this time.
0 commit comments