From 8538b3c75102ae01dd44c0d8b507bda32c5c7257 Mon Sep 17 00:00:00 2001 From: Hans Bonini Date: Thu, 4 Jul 2024 14:34:28 -0300 Subject: [PATCH] Create default GitHub Action `main.yml` --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..43c5295 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: build-sega-genesis-asm-action +run-name: ${{ github.actor }} is building Sega Genesis assembler code +on: + push: + branches: [ master ] +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + - name: Setup Go environment + uses: actions/setup-go@v5.0.1 + with: + # The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks. + go-version: 1.22.4 + # Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default. + architecture: windows/amd64 + - name: Execute asm68k + run: make build +