Merge pull request #40 from brentos/fix-make-check #83
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
name: Test make and install | |
on: | |
push: | |
pull_request: | |
jobs: | |
make-install: | |
strategy: | |
matrix: | |
go-version: [1.18.x, 1.19.x] | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
fetch-depth: 0 #for better blame info | |
- name: Install macOS dependencies | |
if: runner.os == 'macOS' | |
run: | | |
brew install autoconf automake libtool | |
- name: Setup | |
run: | | |
./build.sh | |
./configure | |
- name: Compile | |
run: | | |
make V=1 | |
- name: Install | |
run: | | |
sudo make V=1 install |