Skip to content

Commit

Permalink
Git Workflow: Add steps to run crc
Browse files Browse the repository at this point in the history
This PR installs the pkg on the mac runner and try to run with podman
preset.
  • Loading branch information
praveenkumar committed Apr 28, 2022
1 parent cc22006 commit a4c61d9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/macos-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ jobs:
go-version: ${{ matrix.go }}
- name: Build macOS installer
run: make NO_CODESIGN=1 out/macos-amd64/crc-macos-amd64.pkg
- name: Install crc pkg
run: sudo installer -pkg out/macos-amd64/crc-macos-amd64.pkg -target /
- name: Set podman preset as part of config
run: crc config set preset podman
- name: Run crc setup command
run: crc setup
- name: Wait 10 sec for the daemon to serve
run: sleep 10
- name: Run crc with podman preset
run: crc start
- name: Upload macOS installer artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit a4c61d9

Please sign in to comment.