[WIP] Initial PR for consuming gvproxy/macadam/cloud-init for crc-ng #4969
This file contains hidden or 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: Build RPM | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: {} | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| go: | |
| - '1.25' | |
| steps: | |
| - name: Free disk space | |
| uses: palmsoftware/quick-cleanup@v0 | |
| - name: Check out repository code | |
| uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Build rpm | |
| run: CONTAINER_RUNTIME=docker make test-rpmbuild | |
| - name: Upload linux binary and rpms | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: linux binary and rpm | |
| path: | | |
| ./crc | |
| ./RPMS |