diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..651092a --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,22 @@ +name: Build and Test + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-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)"