From f97da7519a3bd25203afee6667b60e74d34be7ab Mon Sep 17 00:00:00 2001 From: Spencer Vaughn Date: Sat, 23 Sep 2023 10:50:52 -0500 Subject: [PATCH] added github workflow --- .github/workflows/build-test.yml | 22 ++++++++++++++++++++++ Makefile | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build-test.yml diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..92ca61e --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,22 @@ +name: Build and Test + +on: + push: + branches: + - main + +jobs: + build: + runs-on: macos-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v2 + + - name: Build Project + run: | + make all + + - name: Clean Up + run: | + make clean diff --git a/Makefile b/Makefile index f79e523..005abec 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ bundle: all @echo "$(MACOS_BUNDLE) bundle created" .DEFAULT: - @echo "Nothing to do. Please specify a target (e.g., 'make run')." + echo "Nothing to do. Please specify a target (e.g., 'make run')." mgba: @mgba "$(ROM_PATH)/$(ROM_FILE)"