forked from dylan-lang/opendylan
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (50 loc) · 1.5 KB
/
libraries-test-suite.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
55
56
57
58
59
60
61
name: libraries-test-suite
on:
push:
# all branches
pull_request:
branches:
- main
- master
# This enables the Run Workflow button on the Actions tab.
workflow_dispatch:
# TODO: convert to matrix job spec to prevent repetition
jobs:
libraries-test-suite-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: od
submodules: recursive
- uses: dylan-lang/install-opendylan@v2
with:
version: 2022.1
tag: v2022.1.0
- name: Build libraries-test-suite-app
run: |
# We want to use the registry in the sources directory...
cd od/sources
../../dylan-compiler -build -jobs 3 libraries-test-suite-app
- name: Run libraries-test-suite-app
run: |
od/sources/_build/bin/libraries-test-suite-app --tag=-benchmark
libraries-test-suite-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
path: od
submodules: recursive
- uses: dylan-lang/install-opendylan@v2
with:
version: 2022.1
tag: v2022.1.0
- name: Build libraries-test-suite-app
run: |
# We want to use the registry in the sources directory...
cd od/sources
../../dylan-compiler -build -jobs 3 libraries-test-suite-app
- name: Run libraries-test-suite-app
run: |
od/sources/_build/bin/libraries-test-suite-app --tag=-benchmark