Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build iPodLoader2

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install ARM toolchain
run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi

- name: Build (release)
run: |
make clean && make
mv loader.bin loader-release.bin

- name: Build (debug)
run: |
make clean && make debug
mv loader.bin loader-debug.bin

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: loader-binaries
path: |
loader-release.bin
loader-debug.bin
retention-days: 30
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ endif
endif

# Suffix with "d" for development version, "b" for beta version
VERSION = 2.9.0d
VERSION = 2.9.0

# debug builds get the "d" suffix (development version)
ifneq (,$(filter debug,$(MAKECMDGOALS)))
VERSION := $(VERSION)d
endif

ifdef GIT_COMMIT_HASH
VERSION := "$(VERSION) $(GIT_COMMIT_HASH)"
Expand Down
Loading