-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (49 loc) · 1.4 KB
/
orbital-transfer.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
43
44
45
46
47
48
49
50
51
52
53
name: CI
on:
workflow_dispatch:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
name: ${{ matrix.os }} ${{ matrix.joblabel }}
runs-on: ${{ matrix.os }}
env:
ORBITAL_COVERAGE: ${{ matrix.coverage }}
strategy:
fail-fast: true
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
coverage: ['']
include:
- os: 'ubuntu-latest'
coverage: coveralls
joblabel: '(Coverage)'
steps:
- uses: actions/checkout@v2
- name: Cache Orbital
uses: actions/cache@v2
env:
cache-name: cache-orbital
with:
path: |
~/.orbital/extlib
~/.orbital/_orbital/author-local
~/.orbital/local
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.coverage }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.coverage }}-
- name: Set up Orbital Transfer
shell: bash
run: |
eval "$(curl https://raw.githubusercontent.com/orbital-transfer/launch-site/master/script/ci/github-actions-orbital.sh)"
- name: Use Orbital Transfer
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
perl -S orbitalism bootstrap auto
perl -S orbitalism
perl -S orbitalism test