testbrew #5
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
# This is a build which gets triggered on every commit push, | |
# to test whether the homebrew package works. | |
name: testbrew | |
on: | |
workflow_run: | |
workflows: ["Homebrew"] | |
types: | |
- completed | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: get dependencies | |
run: brew tap kpeeters/repo && brew install cadabra2 | |
- name: show | |
run: cat `which cadabra2` | |
- name: test | |
run: echo "A+B;\nquit()\n" > tst.cdb && cadabra2 tst.cdb |