forked from gonsolo/borg_peripheral
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (18 loc) · 788 Bytes
/
Copy pathMakefile
File metadata and controls
20 lines (18 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TEST=.github/workflows/test.yaml
DOCS=.github/workflows/docs.yaml
GDS=.github/workflows/gds.yaml
PLATFORM=ubuntu-24.04=catthehacker/ubuntu:act-24.04
SECRET=GITHUB_TOKEN=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
ENV=ACTIONS_RUNTIME_TOKEN=12345
ARTIFACT=/tmp/artifacts
all: generate_verilog
run_workflow_test:
act --workflows $(TEST) --platform $(PLATFORM) --env $(ENV) --artifact-server-path $(ARTIFACT)
run_workflow_doc:
act --workflows $(DOCS) --platform $(PLATFORM) --secret $(SECRET) --artifact-server-path $(ARTIFACT)
# Now working because of a bug in act
#run_workflow_gds:
# act --workflows $(GDS) --platform $(PLATFORM) --env $(ENV) --artifact-server-path $(ARTIFACT)
generate_verilog:
sbt "runMain tinygpu.Main"
.PHONY: all generate_verilog run_workflow_test run_workflow_doc