Sha256: 993a2a4dce0937f3985795dd979510feff50fd0ea2ca1ab3682cba367122df34

Contents?: true

Size: 1.3 KB

Versions: 13

Compression:

Stored size: 1.3 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:
    branches: [ '**' ]

jobs:
  test-macos:
    name: Test on Ruby ${{ matrix.ruby }} macOS
    runs-on: macos-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.5', '2.4' ]
    steps:
      - uses: actions/checkout@master
      - name: Checkout submodules
        shell: bash
        run: |
          auth_header="$(git config --local --get http.https://github.com/.extraheader)"
          git submodule sync --recursive
          git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
      - name: Use Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          architecture: 'x64'
      - name: Update gems
        run: |
          sudo gem install bundler --force
          ruby -v | grep 2.5 && bundle config set build.debase --with-cflags="-Wno-error=implicit-function-declaration"
          ruby -v | grep 2.5 && bundle config set build.ruby-debug-ide --with-cflags="-Wno-error=implicit-function-declaration"
          bundle install --jobs 4 --retry 3
      - name: Run specs
        run: |
          bundle exec rake

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
relaton-bib-1.7.1 .github/workflows/macos.yml
relaton-ieee-1.7.1 .github/workflows/macos.yml
relaton-ieee-1.7.0 .github/workflows/macos.yml
relaton-w3c-1.7.0 .github/workflows/macos.yml
relaton-bib-1.7.0 .github/workflows/macos.yml
relaton-bib-1.6.2 .github/workflows/macos.yml
relaton-bib-1.6.1 .github/workflows/macos.yml
relaton-ieee-1.6.0 .github/workflows/macos.yml
relaton-w3c-1.6.0 .github/workflows/macos.yml
relaton-bib-1.6.0 .github/workflows/macos.yml
relaton-ieee-1.6.pre1 .github/workflows/macos.yml
relaton-w3c-1.6.pre1 .github/workflows/macos.yml
relaton-bib-1.6.pre1 .github/workflows/macos.yml