From 87a87c03c1409b30b5156a09c7c1f666d6915a58 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Thu, 21 Nov 2024 21:37:58 +0100 Subject: [PATCH] Replace builds.sr.ht with GitHub Actions --- .builds/alpine.yml | 21 ------------------ .github/workflows/firmware-builds.yml | 32 +++++++++++++++++++++++++++ README.md | 2 -- 3 files changed, 32 insertions(+), 23 deletions(-) delete mode 100644 .builds/alpine.yml create mode 100644 .github/workflows/firmware-builds.yml diff --git a/.builds/alpine.yml b/.builds/alpine.yml deleted file mode 100644 index 2433334..0000000 --- a/.builds/alpine.yml +++ /dev/null @@ -1,21 +0,0 @@ -image: alpine/3.14 -packages: - - python2 - - make - - gcc-arm-none-eabi - - newlib-arm-none-eabi -sources: - - https://github.com/dirtyjtag/dirtyjtag -tasks: - - setup: | - cd dirtyjtag - git submodule init - git submodule update - - build-targets: | - cd dirtyjtag - make PLATFORM=bluepill - make PLATFORM=stlinkv2 - make PLATFORM=stlinkv2dfu - make PLATFORM=baite - make PLATFORM=olimexstm32h103 - make PLATFORM=stlinkv2white diff --git a/.github/workflows/firmware-builds.yml b/.github/workflows/firmware-builds.yml new file mode 100644 index 0000000..e51112e --- /dev/null +++ b/.github/workflows/firmware-builds.yml @@ -0,0 +1,32 @@ +name: Firmware builds + +on: + push: + branches: [ master ] + path-ignore: + - 'docs/**' + - 'contrib/**' + pull-request: + path-ignore: + - 'docs/**' + - 'contrib/**' + +jobs: + default: + runs-on: ubuntu-24.04 + steps: + - name: Fetch Sources + uses: actions/checkout@v4 + with: + submodules: true + - name: Install build dependencies + run: sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi make + - name: Build + run: | + cd dirtyjtag + make PLATFORM=bluepill + make PLATFORM=stlinkv2 + make PLATFORM=stlinkv2dfu + make PLATFORM=baite + make PLATFORM=olimexstm32h103 + make PLATFORM=stlinkv2white diff --git a/README.md b/README.md index 4e4d26f..9896328 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # DirtyJTAG -[![builds.sr.ht status](https://builds.sr.ht/~jeanthomas/dirtyjtag.svg)](https://builds.sr.ht/~jeanthomas/dirtyjtag?) - DirtyJTAG is a JTAG adapter firmware for $2 ST-Link clones and generic STM32 development boards ("blue pill"/"black pill" STM32F101 and STM32F103 based ARM boards). The DirtyJTAG project was meant to be an alternative to the obsolete (but cheap) LPT Wiggler cables, and other expensive USB JTAG probes. DirtyJTAG is dirty and dirt cheap, but is not fast nor a perfect implementation of the JTAG protocol. Yet it is around 1k lines of code, making it easily understandable and hackable.