Broken build hopefully no more (#221) #182
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
on: [push, pull_request] | |
name: Test | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.22.x] | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/checkout@v3 | |
- run: make test | |
buildlinuxpackage: | |
strategy: | |
matrix: | |
go-version: [1.22.x] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: gcc rpm alien rsync pkg-config libudev-dev | |
- uses: actions/checkout@v3 | |
- run: make init-config-host | |
- run: make rpm | |