diff --git a/.github/workflows/miqt.yml b/.github/workflows/miqt.yml index aa0a8f56..64920fa8 100644 --- a/.github/workflows/miqt.yml +++ b/.github/workflows/miqt.yml @@ -21,10 +21,26 @@ 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 diff --git a/Makefile b/Makefile index 5e915244..28864a78 100644 --- a/Makefile +++ b/Makefile @@ -31,3 +31,6 @@ clean: genbindings: $(BUILDSTAMPS) $(DOCKEREXEC) 'cd cmd/genbindings && go build && ./genbindings' +.PHONY: build-all +build-all: $(BUILDSTAMPS) + $(DOCKEREXEC) 'go build ./...'