pkg-config diagnostics; empty Go build cache after builds #140
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: Go | |
on: [ push, pull_request ] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install cross-build dependencies | |
run: sudo apt-get -qq -y update && sudo apt-get -qq -y --no-install-recommends install make gcc gcc-multilib gcc-mingw-w64 autoconf automake libtool pkg-config ca-certificates wget patch sed git-core moreutils zip golang-go | |
- name: Show info about build environment | |
run: | | |
cat /etc/debian_version | |
go version | |
gcc --version | |
x86_64-w64-mingw32-gcc --version | |
- name: Build 3rd-party deps | |
run: make 3rdparty-all | |
- name: Run unit tests | |
run: make unit-test | |
- name: Build binaries | |
run: make release VERSIONSUFFIX=+$GITHUB_SHA | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: spyre-zips | |
path: spyre-*.zip | |
build-macosx: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update build environment | |
run: | | |
brew update | |
- name: Install build-dependencies | |
run: | | |
brew install \ | |
make autoconf automake libtool pkg-config wget patchutils \ | |
gnu-sed gnu-tar ca-certificates zip go | |
- name: Build 3rd-party deps | |
run: gmake 3rdparty-all | |
- name: Run unit tests | |
run: gmake unit-test | |
- name: Build binaries | |
run: gmake release VERSIONSUFFIX=+$GITHUB_SHA | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: spyre-macosx-zips | |
path: spyre-*.zip |