Skip to content

use pkgconf instead of pkg-config. #138

use pkgconf instead of pkg-config.

use pkgconf instead of pkg-config. #138

Workflow file for this run

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 pkgconf 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 unlink pkg-config
brew install \
make autoconf automake libtool pkgconf 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