-
Notifications
You must be signed in to change notification settings - Fork 108
59 lines (49 loc) · 1.42 KB
/
julia-ci.yaml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Julia tests
on:
push:
branches: [ ]
pull_request:
branches: [ ]
env:
DEX_CI: 1
concurrency:
group: julia-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
if: false # TODO: Fix Julia bindings!
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
include:
- os: ubuntu-20.04
install_deps: sudo apt-get install llvm-12-tools llvm-12-dev pkg-config wget gzip
path_extension: /usr/lib/llvm-12/bin
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Setup Julia
uses: julia-actions/setup-julia@ee66464cb7897ffcc5322800f4b18d449794af30 # v1.6.1
with:
version: '1.6'
arch: x64
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.stack
$GITHUB_WORKSPACE/.stack-work
~/.julia/artifacts
key: ${{ runner.os }}-v2-julia-${{ hashFiles('**/*.cabal', 'stack*.yaml', '**/Project.toml') }}
restore-keys: |
${{ runner.os }}-v2-julia-
${{ runner.os }}-v2-
- name: Build DexCall.jl
uses: julia-actions/julia-buildpkg@f995fa4149fed4a8e9b95ba82f54cc107c1d832a #v1.2.0
with:
project: "julia/"
- name: Test DexCall.jl
uses: julia-actions/julia-runtest@eda4346d69c0d1653e483c397a83c7f32f4ef2ac # v1.6.0
with:
project: "julia/"