makefile, ci: run go build ./... in CI

This commit is contained in:
mappu 2025-04-05 20:48:41 +13:00
parent 3a65857ad8
commit 3d2c1d5501
2 changed files with 20 additions and 1 deletions

View File

@ -21,11 +21,27 @@ jobs:
key: linux64-clang-cache
- name: Rebuild binding source
run: make
run: make genbindings
- name: Assert no changes
run: git update-index --really-refresh && git diff-index HEAD
miqt_buildall:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache GOCACHE
uses: actions/cache@v4
with:
path: ~/.cache/go-build
key: linux64-buildall-gocache
- name: Rebuild all libraries and examples
run: make build-all
miqt_linux64_qt5:
runs-on: ubuntu-24.04

View File

@ -31,3 +31,6 @@ clean:
genbindings: $(BUILDSTAMPS)
$(DOCKEREXEC) 'cd cmd/genbindings && go build && ./genbindings'
.PHONY: build-all
build-all: $(BUILDSTAMPS)
$(DOCKEREXEC) 'go build ./...'