From 30f6e43916d043dfb4d60d3d839d93613f3bfae5 Mon Sep 17 00:00:00 2001 From: Fischer Moseley <42497969+fischermoseley@users.noreply.github.com> Date: Sun, 30 Jul 2023 19:36:05 -0700 Subject: [PATCH] update makefile to reset build agent --- .github/workflows/build_examples.yml | 7 +++++-- Makefile | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_examples.yml b/.github/workflows/build_examples.yml index 9c97215..d361eeb 100644 --- a/.github/workflows/build_examples.yml +++ b/.github/workflows/build_examples.yml @@ -5,7 +5,7 @@ jobs: runs-on: self-hosted steps: - uses: actions/checkout@v3 - - name: Install Manta from Source + - name: Install Manta from source run: | pip install setuptools --upgrade @@ -28,4 +28,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: examples - path: examples/ \ No newline at end of file + path: examples/ + + - name: Schedule reboot to reset build agent + run: shutdown -r +2 \ No newline at end of file diff --git a/Makefile b/Makefile index 9c90670..4157530 100644 --- a/Makefile +++ b/Makefile @@ -119,9 +119,9 @@ $(NEXYS_A7_EXAMPLES): $(VIVADO_PATH) -mode batch -source ../build.tcl # Build Icestick Examples -ICESTICK_EXAMPLES = io_core +ICESTICK_EXAMPLES := io_core -.PHONY icestick $(ICESTICK_EXAMPLES) +.PHONY: icestick $(ICESTICK_EXAMPLES) icestick: $(ICESTICK_EXAMPLES) $(ICESTICK_EXAMPLES):