First draft, Core Sensing and OM Extension #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |