Sha256: 4c849b7b1884d00e00418fadd7f9bc04cb5781dda6c169b7c99010e84a7ce8a1

Contents?: true

Size: 1.85 KB

Versions: 14

Compression:

Stored size: 1.85 KB

Contents

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

on:
  push:
    branches: [ master ]
    tags:
      - '*'
  pull_request:
    paths-ignore:
      - .github/workflows/macos.yml
      - .github/workflows/windows.yml

jobs:
  test-linux:
    name: Test on Ruby ${{ matrix.ruby }} Ubuntu
    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.5', '2.4' ]
        experimental: [false]
        include:
          - ruby: '2.7'
            experimental: true
    steps:
      - uses: actions/checkout@master
      - name: Use Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install Inkscape
        run: |
          sudo add-apt-repository ppa:inkscape.dev/stable
          sudo apt update
          sudo apt install inkscape
          inkscape --version
      - name: Update gems
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
      - name: Run specs
        run: |
          bundle exec rake
      - name: Trigger repositories
        if: matrix.ruby == '2.6'
        env:
          GH_USERNAME: metanorma-ci
          GH_ACCESS_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
        run: |
          curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh
          [[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
          CLIENT_PAYLOAD=$(cat <<EOF
          "{ "ref": "${GITHUB_REF}", "repo": "${GITHUB_REPOSITORY}" }"
          EOF
          )
          for repo in $REPOS
          do
            sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "$CLIENT_PAYLOAD"
          done

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
isodoc-1.2.6 .github/workflows/ubuntu.yml
isodoc-1.2.5 .github/workflows/ubuntu.yml
isodoc-1.2.4 .github/workflows/ubuntu.yml
isodoc-1.2.3 .github/workflows/ubuntu.yml
isodoc-1.2.2 .github/workflows/ubuntu.yml
isodoc-1.2.1 .github/workflows/ubuntu.yml
isodoc-1.2.0 .github/workflows/ubuntu.yml
isodoc-1.1.4 .github/workflows/ubuntu.yml
isodoc-1.1.3 .github/workflows/ubuntu.yml
isodoc-1.1.3.pre.alpha3 .github/workflows/ubuntu.yml
isodoc-1.1.3.pre.alpha2 .github/workflows/ubuntu.yml
isodoc-1.1.3.pre.alpha .github/workflows/ubuntu.yml
isodoc-1.1.2 .github/workflows/ubuntu.yml
isodoc-1.1.1 .github/workflows/ubuntu.yml