-
Notifications
You must be signed in to change notification settings - Fork 12
42 lines (39 loc) · 1.06 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Run CI on PR
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- "julia/**"
- "make.jl"
workflow_dispatch:
jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }}
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version:
- "1.7"
julia-arch: [x64]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up notebook state cache
uses: actions/cache@v2
with:
path: ~/.julia
key: ${{ runner.os }}-julia-packages-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: run make process
env:
JULIA_PKG_SERVER: ""
run: julia --project=@. -e '
import Pkg;
Pkg.activate(".");
Pkg.instantiate();
include("make.jl");
main();'