# 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