Sha256: 2fbeefe6c7d6baffd9d19b17a825230ccce74a09b85b8062f0bafc59097caf43

Contents?: true

Size: 1.35 KB

Versions: 5

Compression:

Stored size: 1.35 KB

Contents

# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: macos

on:
  push:
    branches: [ master ]
  pull_request:
    paths-ignore:
      - .github/workflows/test.yml
      - .github/workflows/docker.yml
      - .github/workflows/ubuntu.yml
      - .github/workflows/windows.yml
      - Makefile.win

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
      - name: Cache xml2rfc
        id: cache-xml2rfc
        uses: actions/cache@v1
        with:
          path: ~/.cache/xml2rfc
          key: xml2rfc
          restore-key: xml2rfc
      - name: Use Metanorma
        run: |
          brew update
          brew install yq
          brew install https://raw.githubusercontent.com/metanorma/homebrew-metanorma/master/Formula/metanorma.rb
          metanorma version
      - name: Setup Fonts
        run: |
          metanorma setup --agree-to-terms
      - name: Install bundler
        run: |
          sudo gem install bundler
      - name: Metanorma compile
        env:
          JAVA_OPTS: "java.awt.headless=true"
        run: |
          source $(brew --prefix metanorma)/libexec/venv/bin/activate
          make clean all

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
metanorma-cli-1.3.7.3 templates/base/.github/workflows/macos.yml
metanorma-cli-1.3.7.2 templates/base/.github/workflows/macos.yml
metanorma-cli-1.3.7.1 templates/base/.github/workflows/macos.yml
metanorma-cli-1.3.7 templates/base/.github/workflows/macos.yml
metanorma-cli-1.3.6 templates/base/.github/workflows/macos.yml