-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (31 loc) · 787 Bytes
/
main.yml
File metadata and controls
37 lines (31 loc) · 787 Bytes
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
name: CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
unix:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-10.15]
include:
- os: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
- name: Build Xtensor.jl
shell: bash -l {0}
run: |
julia -E "using Pkg; Pkg.add(PackageSpec(name=\"CxxWrap\", version=\"0.11.2\"))"
julia --project=. -E "using Pkg; Pkg.build()"
- name: Test Xtensor.jl
shell: bash -l {0}
run: |
julia --project=. -E "using Pkg; Pkg.test()"