-
Notifications
You must be signed in to change notification settings - Fork 29
47 lines (42 loc) · 1.14 KB
/
macos.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
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: macos
on:
push:
branches: [ master, main ]
pull_request:
paths-ignore:
- .gitlab-ci.yml
- .github/workflows/test.yml
- .github/workflows/docker.yml
- .github/workflows/ubuntu.yml
- .github/workflows/windows.yml
- .github/workflows/docker-pres_xml.yml
jobs:
test-macos:
name: Test on macOS
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || github.token }}
submodules: true
- uses: actions/cache@v2
with:
path: ~/.cache/xml2rfc
key: xml2rfc
restore-key: xml2rfc
- run: brew install metanorma/metanorma/metanorma
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Install relaton
run: |
gem install relaton-cli
- name: Metanorma compile
env:
JAVA_OPTS: "java.awt.headless=true"
run: |
metanorma site generate sources