diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..5c8a897 --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,25 @@ +name: Build and Test + +on: + push: + branches: + - main + +jobs: + build: + runs-on: macos-latest + strategy: + matrix: + arch: [arm64] # Specify the desired architectures here + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - 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)"