mirror of
https://github.com/mappu/miqt.git
synced 2025-04-08 06:30:22 +00:00
makefile, ci: run go build ./... in CI
This commit is contained in:
parent
3a65857ad8
commit
3d2c1d5501
18
.github/workflows/miqt.yml
vendored
18
.github/workflows/miqt.yml
vendored
@ -21,11 +21,27 @@ jobs:
|
|||||||
key: linux64-clang-cache
|
key: linux64-clang-cache
|
||||||
|
|
||||||
- name: Rebuild binding source
|
- name: Rebuild binding source
|
||||||
run: make
|
run: make genbindings
|
||||||
|
|
||||||
- name: Assert no changes
|
- name: Assert no changes
|
||||||
run: git update-index --really-refresh && git diff-index HEAD
|
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:
|
miqt_linux64_qt5:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
|
3
Makefile
3
Makefile
@ -31,3 +31,6 @@ clean:
|
|||||||
genbindings: $(BUILDSTAMPS)
|
genbindings: $(BUILDSTAMPS)
|
||||||
$(DOCKEREXEC) 'cd cmd/genbindings && go build && ./genbindings'
|
$(DOCKEREXEC) 'cd cmd/genbindings && go build && ./genbindings'
|
||||||
|
|
||||||
|
.PHONY: build-all
|
||||||
|
build-all: $(BUILDSTAMPS)
|
||||||
|
$(DOCKEREXEC) 'go build ./...'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user