Improving readme #123
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: stronglytyped/arm-none-eabi-gcc | |
steps: | |
- name: Upgrade git | |
run: | | |
# The hardcoded PGP key is a dump of the online key retreived from "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xe1dd270288b4e6030699e45fa1715d88e1df1f24" | |
echo "-----BEGIN PGP PUBLIC KEY BLOCK-----\nComment: Hostname: \nVersion: Hockeypuck 2.1.0-189-g15ebf24\n\nxo0ESXjaGwEEAMA26F3+mnRW8uRqASMsEa5EsmgvUpLD7EKpC7903OpiMGSvZ2sE\n34g7W6nUQY0R//AZS2iW4ZXfvdhQTQuuPlHM6Q3iUAt+nyXcf9xBlscs8Gm722u4\njAtFtBS4BMQRhRRfWTHwJIOM6OpGIccjPe8pQfIeoRxkKJxlehzw2mU1ABEBAAHN\nKExhdW5jaHBhZCBQUEEgZm9yIFVidW50dSBHaXQgTWFpbnRhaW5lcnPCtgQTAQIA\nIAUCSXjaGwIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEKFxXYjh3x8k/zMD\n/RKBMjavvFl71YBazSOGl2YfSsZiR/ANsby3+rUaULb8uxzCHXAQnlH5vdtLSPry\naLBvzCU8C3C02qNT8jRacU2752zsCkCi1SLRSOXdI/ATJHza5aTvYV93rTITBhU4\nsJQeK9RW0CtaDRAxJsn/Dr6J3lL/c9m9cT5fFpxOIsF4\n=7kFR\n-----END PGP PUBLIC KEY BLOCK-----\n" > /tmp/git-core-ppa.pgp | |
echo "Key used for git-core-ppa:" | |
cat /tmp/git-core-ppa.pgp | |
cat /tmp/git-core-ppa.pgp | gpg --dearmor -o /usr/share/keyrings/git-core-ppa.gpg && rm /tmp/git-core-ppa.pgp | |
md5sum /usr/share/keyrings/git-core-ppa.gpg | |
echo "deb [signed-by=/usr/share/keyrings/git-core-ppa.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu bionic main" > /etc/apt/sources.list.d/git-core.list | |
apt update || : | |
apt install -y git | |
- name: Dump versions | |
run: | | |
lsb_release -a 2>/dev/null || cat /etc/issue | |
git --version | |
make --version | |
arm-none-eabi-gcc --version | |
arm-none-eabi-g++ --version | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Build for STM32F469I-DISCO | |
run: make TARGET_BOARD=STM32F469I_DISCO TOOLCHAIN_PATH_PREFIX= clean elf | |
- name: Build for STM32F769I-DISCO | |
run: make TARGET_BOARD=STM32F769I_DISCO TOOLCHAIN_PATH_PREFIX= clean elf | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump versions | |
run: | | |
lsb_release -a 2>/dev/null || cat /etc/issue | |
git --version | |
make --version | |
cmake --version | |
gcc --version | |
g++ --version | |
- name: Check out source code | |
uses: actions/checkout@v3 | |
- name: Check out ticdecodecpp submodule | |
run: | | |
git submodule init ticdecodecpp | |
git submodule update | |
- name: Test | |
run: | | |
make check |