Skip to content

Commit

Permalink
add github CI setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoyanonymous committed Dec 9, 2024
1 parent eab68d8 commit 0b2acf4
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ jobs:
build-macos:
name: Build
runs-on: macos-latest
strategy:
matrix:
formula:
- { name: flatcam-beta }
- { name: flatcam-evo }
steps:
- name: Checkout tap
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Update Homebrew
run: |
rm -rf $(brew --repo homebrew/cask)
Expand All @@ -32,15 +37,5 @@ jobs:
mkdir -p "$REPO"
rm -rf "$REPO"
ln -s $GITHUB_WORKSPACE "$REPO"
- name: Run brew test-bot --only-setup
run: brew test-bot --only-setup --tap=${{github.repository}} -v flatcam-beta
- name: Run brew test-bot --only-formulae
run: |
mkdir ~/bottles
cd ~/bottles
brew test-bot --only-formulae --tap=${{github.repository}} -v flatcam-beta
- name: Output brew test-bot --only-formulae failures
if: always()
run: |
cat ~/bottles/steps_output.txt
rm ~/bottles/steps_output.txt
- name: Run brew install # do not test with brew-test-bot but just try to install
run: brew install --no-auto-update ${{ matrix.formula.name }} --debug --verbose

0 comments on commit 0b2acf4

Please sign in to comment.