qgraf: 3.6.9 #86
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
name: Test | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0 1 * * # monthly | |
env: | |
HOMEBREW_NO_INSTALL_CLEANUP: 1 | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
formula: | |
- kira | |
- lanhep | |
- qgraf | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Cache Homebrew Bundler RubyGems | |
id: cache | |
uses: actions/cache@v1 | |
with: | |
path: ${{ steps.set-up-homebrew.outputs.gems-path }} | |
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} | |
restore-keys: ${{ runner.os }}-rubygems- | |
- name: Install Homebrew Bundler RubyGems | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: brew install-bundler-gems | |
# For now, this is needed to ensure linux/limits.h etc. on Ubuntu 20.04, | |
# e.g., https://github.com/Homebrew/homebrew-core/issues/110558 | |
- name: Install Linux headers | |
if: runner.os == 'Linux' | |
run: brew install linux-headers | |
- name: Install dependencies of ${{ matrix.formula }} | |
run: | | |
brew install --only-dependencies tueda/loops/${{ matrix.formula }} | |
- name: Install ${{ matrix.formula }} | |
run: | | |
brew install --verbose tueda/loops/${{ matrix.formula }} | |
- name: Test ${{ matrix.formula }} | |
run: | | |
brew test --verbose tueda/loops/${{ matrix.formula }} | |
install-only: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
formula: | |
- mma-feynrules | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Cache Homebrew Bundler RubyGems | |
id: cache | |
uses: actions/cache@v1 | |
with: | |
path: ${{ steps.set-up-homebrew.outputs.gems-path }} | |
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} | |
restore-keys: ${{ runner.os }}-rubygems- | |
- name: Install Homebrew Bundler RubyGems | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: brew install-bundler-gems | |
- name: Install dependencies of ${{ matrix.formula }} | |
run: | | |
brew install --only-dependencies tueda/loops/${{ matrix.formula }} | |
- name: Install ${{ matrix.formula }} | |
run: | | |
brew install --verbose tueda/loops/${{ matrix.formula }} |