-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (46 loc) · 1.12 KB
/
main.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
54
name: CI
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "**.md"
push:
paths-ignore:
- "**.md"
branches:
- main
schedule:
- cron: 0 0 * * 5
jobs:
plugin_test:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
source-build:
- null
- true
downloader:
- curl
include:
- os: ubuntu-latest
downloader: wget
source-build: null
runs-on: ${{ matrix.os }}
name: asdf-raku on ${{ matrix.os }} using ${{ matrix.downloader }} (ASDF_RAKU_BUILD=${{ matrix.source-build }})
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Remove curl
if: ${{ matrix.downloader == 'wget' }}
run: sudo apt-get remove curl
- name: Install system packages on macOS
if: ${{ runner.os == 'macOS' }}
run: brew install coreutils
- name: Test plugin
uses: asdf-vm/actions/plugin-test@v1
env:
ASDF_RAKU_BUILD: ${{ matrix.source-build }}
with:
command: raku --version