Skip to content
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
6e2bca9
Reverting accidentally introduced changes (#1871)
discip Jan 18, 2024
16d0c3a
Update translation_TR.json
5mustafa Jan 22, 2024
1934f5a
Update translation_TR.json
5mustafa Jan 22, 2024
86a20d2
Update translation_TR.json
5mustafa Jan 22, 2024
f95528d
Merge pull request #1877 from 5mustafa/dev
discip Feb 10, 2024
bd02036
Fix typo in SK translation for `ProfilePhase5Duration`
DominikPalo Feb 15, 2024
a337702
Merge pull request #1880 from DominikPalo/bugfix/fix-typo-in-sk-trans…
gamelaster Feb 15, 2024
21a1012
Add rough pass on porting support (#1874)
Ralim Feb 17, 2024
baf2f26
Big overhaul of the UI framework (#1749)
Ralim Feb 17, 2024
9f6f2f8
Add S60P init code (#1884)
Ralim Feb 22, 2024
9ea71bc
USB-PD Support for Sequre S60P (#1883)
ArturoGuerra Feb 25, 2024
1d12e9d
source/Makefile compatibility with BSD find [#1886] (#1892)
ia Mar 16, 2024
e8a1c34
fix: handle is uninitialized when BFLB_BLE_DISABLE_STATIC_ATTR define…
slark-yuxj Mar 20, 2024
a3f036a
Update translation_PT.json (#1896)
joaoergomes Mar 20, 2024
b5fc1b5
4 ohm tip (#1868)
Ralim Mar 21, 2024
d98654b
Makefile: add S60P to MODELS (#1897)
ia Mar 28, 2024
20bb895
Update porting guide + cleanups (#1898)
Ralim Apr 3, 2024
9a46d98
Move Zzz large line from translations to constants
ia Apr 4, 2024
e200992
make_translation.py: add missing extra space to LargeSymbolSleep
ia Apr 4, 2024
7376c49
Translations: localization of SleepingSimpleString
ia Apr 4, 2024
1c8d2c7
Revert "Translations: localization of SleepingSimpleString"
ia Apr 5, 2024
3f7db79
Merge branch 'z-var' into z-localization
ia Apr 5, 2024
9b4328b
Completed PT translation file
JoaoBuny Apr 6, 2024
1af6c07
Merge pull request #1901 from BunyMan/dev
discip Apr 8, 2024
79c6af8
Merge branch 'dev' into z-localization
discip Apr 8, 2024
35d4b18
Merge pull request #1900 from ia/z-localization
discip Apr 8, 2024
ac0cd2a
Added description of how to get around common error under Windows sec…
PockyBum522 Apr 10, 2024
ad15a53
Merge pull request #1902 from PockyBum522/patch-1
discip Apr 10, 2024
f112908
Remove register keyword according to ISO C++17 for fixing related war…
ia May 22, 2024
88d7a8e
Handle non-EPR devices not encoding PPS correctly (#1911)
Ralim May 24, 2024
c135732
Completed TR translation file (#1912)
5mustafa May 24, 2024
442dbd9
Expand USB-PD mode option (#1917)
Ralim Jun 1, 2024
14b92cd
Pinecilv2 adc v2 (#1916)
Ralim Jun 8, 2024
e925037
Sequre Faster PWM (#1926)
Ralim Jun 8, 2024
2a4e1cd
Refactor: Rename Sequre bsp (#1927)
Ralim Jun 8, 2024
3b344c8
Fixup! S60 asm source folder
Ralim Jun 8, 2024
1b042fc
Update translation_UK.json with PD mode option (#1929)
eslng Jun 9, 2024
9007f6c
Update RU translation for PD mode options (#1940)
ia Jul 3, 2024
116afec
PD modes IT translation (#1937)
fredericuslaurentii Jul 3, 2024
b72ff94
update translation_BE.json (#1942)
dmitrygribenchuk Jul 7, 2024
ac6994a
Update BG translation for PD mode options (#1941)
ia Jul 8, 2024
c19e882
Add enum for USB PD modes (#1943)
ia Jul 9, 2024
18e936a
Implement OLED::drawUnavailableIcon() to simplify duplicated calls (#…
ia Jul 11, 2024
4864990
WIP: Split Render for multiple screen resolutions (#1888)
Ralim Jul 11, 2024
db12683
Pinecil 2 PID tune adjustments (#1925)
Ralim Jul 11, 2024
7d58d1c
Fix profile mode
ReimuHakurei Jul 17, 2024
545d568
Merge pull request #1948 from ReimuHakurei/profile_fix
discip Jul 17, 2024
6b28b40
Update translation_IT.json
fredericuslaurentii Jul 22, 2024
a855a68
Merge pull request #1949 from fredericuslaurentii/dev
discip Jul 22, 2024
a4f070f
changed date format to YYYY-MM-DD
discip Jul 23, 2024
d2c3d30
Merge pull request #1952 from Ralim/discip-patch-1
discip Jul 23, 2024
aec1e78
YY-MM-DD => YYYY-MM-DD
discip Jul 23, 2024
84e53e1
Merge pull request #1954 from Ralim/discip-patch-1
discip Jul 23, 2024
d9c88c9
Sequre T55 Support (#1928)
Ralim Jul 24, 2024
95eb154
Add enum for modes of locking buttons (#1955)
ia Jul 24, 2024
297205a
Update Soldering.cpp
neon12345 Jul 31, 2024
2a5ba2b
Update Soldering.cpp
neon12345 Jul 31, 2024
616db16
Update Soldering.cpp
neon12345 Jul 31, 2024
f0fa271
Update Soldering.cpp
neon12345 Jul 31, 2024
56d8082
Mask LIS2DH12 clone support for TS101 only (#1894)
Ralim Jul 31, 2024
80217ef
Merge branch 'dev' into dev
discip Jul 31, 2024
6a2f2dc
Update Soldering.cpp
neon12345 Jul 31, 2024
2bce5b7
Merge pull request #1956 from neon12345/dev
discip Aug 1, 2024
34db06a
Update Soldering.cpp
neon12345 Aug 1, 2024
c0ba6eb
Update Soldering.cpp
neon12345 Aug 1, 2024
ae55d5c
Update Soldering.cpp
neon12345 Aug 1, 2024
ea2deb0
Update Soldering.cpp
neon12345 Aug 1, 2024
3d43354
Update Soldering.cpp
neon12345 Aug 1, 2024
697b0c7
Update Soldering.cpp
neon12345 Aug 1, 2024
c002f45
making the LOCKED / UNLOCKED stay for a second
discip Aug 5, 2024
cae14de
Update OperatingModes.h
neon12345 Aug 6, 2024
dfbf45a
Update Soldering.cpp
neon12345 Aug 6, 2024
845a28b
Update translation_FI.json
juhotauriainen Aug 9, 2024
d8b7c73
Update Soldering.cpp
neon12345 Aug 10, 2024
9811875
Update translation_FI.json
juhotauriainen Aug 12, 2024
42d7f8d
Update Soldering.cpp
neon12345 Aug 13, 2024
adfc521
Merge pull request #1957 from neon12345/dev
discip Aug 13, 2024
65c3eed
Merge branch 'dev' into dev
discip Aug 13, 2024
02b21a6
Add a sleep timeout setting for hall sensor (#1969)
aveao Aug 21, 2024
6305093
Add stub implementations of unused syscalls explicitly (#1966)
ia Aug 21, 2024
11beddf
TS1010 Logo rework for Miniware DFU (#1967)
Ralim Aug 22, 2024
e0d15d7
Update Translations/translation_FI.json
juhotauriainen Aug 24, 2024
518e836
Update Translations/translation_FI.json
juhotauriainen Aug 24, 2024
2b51ce4
Update Translations/translation_FI.json
juhotauriainen Aug 24, 2024
7fd0f47
Update Translations/translation_FI.json
juhotauriainen Aug 24, 2024
d34a05f
Update Translations/translation_FI.json
juhotauriainen Aug 24, 2024
d9f25e2
Update Translations/translation_FI.json
juhotauriainen Aug 24, 2024
7fce6c0
Update Translations/translation_FI.json
juhotauriainen Aug 24, 2024
d3edb58
Update Translations/translation_FI.json
juhotauriainen Aug 24, 2024
7a32f48
Merge branch 'dev' into dev
discip Aug 24, 2024
03e2ba1
Merge pull request #1964 from juhotauriainen/dev
discip Aug 24, 2024
785a6a0
Update Power.md
discip Aug 24, 2024
d57f469
Merge pull request #1970 from Ralim/discip-patch-1
discip Aug 24, 2024
c4b67a7
Update translation_IT.json
fredericuslaurentii Sep 10, 2024
1af65a9
Update translation_IT.json
fredericuslaurentii Sep 10, 2024
204efee
Merge pull request #1975 from fredericuslaurentii/patch-2
discip Sep 10, 2024
69cf05a
Update translation_ES.json
Meldinov Sep 28, 2024
0900fdf
Merge pull request #1980 from Meldinov/patch-2
discip Sep 28, 2024
3a7bb0c
Update tranlation_UK.json
eslng Oct 4, 2024
fe6bf7f
Merge pull request #1982 from eslng/uk-translation-hall-sens-to
discip Oct 4, 2024
150aa0d
translations adapted (#1976)
Staubgeborener Oct 29, 2024
a0a779f
Custom tip type selection (#1977)
Ralim Nov 1, 2024
21ecc15
Change Input mode of the tip sense signal for Miniware (#1990)
Ralim Nov 7, 2024
79c12a5
README update (#1991)
ia Nov 9, 2024
7dd5325
Add info about v2.22 to History.md (#1993)
ia Nov 14, 2024
d4a57ea
README.md: fix mistypes discovered by @yo3fxy (#1996)
ia Nov 14, 2024
d0bcf40
Linux Flash script update for TS100 (#1997)
deadYokai Nov 16, 2024
067b023
Add direct links to stable and dev builds in README (#2000)
ia Nov 19, 2024
c86ed08
Added translation into Uzbek (#1998)
alishersuyunov Nov 20, 2024
0187f9f
follow up on #1998 (#2002)
discip Nov 21, 2024
26c50d7
Check the presence of changelog for the latest stable release in Hist…
ia Nov 21, 2024
9794e02
source/Makefile: enable builds for supported but missing languages (#…
ia Nov 21, 2024
c607e73
Langs check (#2006)
ia Nov 25, 2024
d16d6ec
Manage Belorussian langauge as part of cyrillic multilang builds
ia Nov 28, 2024
e41b3f8
Add Belorussian language as part of Cyrillic multilang builds (#2007)
Ralim Nov 28, 2024
712c8f9
scripts/deploy.sh: add test for links to stable builds in README
ia Dec 2, 2024
af852c1
Update translation_ZH_CN.json
Ralim Dec 7, 2024
ed422aa
Merge pull request #2009 from ia/stable-tag
Ralim Dec 7, 2024
5f96309
Update version for RC-1
Ralim Dec 9, 2024
19eb1c8
Merge pull request #2013 from Ralim/fix-undervoltage-translation-1780
Ralim Dec 9, 2024
d64acac
Update translation_IT.json
fredericuslaurentii Dec 11, 2024
6e968b7
Update translation_IT.json
fredericuslaurentii Dec 11, 2024
293a7c9
Merge pull request #2021 from fredericuslaurentii/dev
Ralim Dec 12, 2024
38ebf2b
improve zh_cn translation (#2019)
KevinTong9 Dec 12, 2024
e26c8cc
changed `Devel Build` => `Development Build` (#2022)
discip Dec 12, 2024
18bf431
adjusted lowest brightness threshold for TS101 (#2017)
discip Dec 12, 2024
142d936
README.md: rename develop builds to development builds in the descrip…
ia Dec 15, 2024
d627459
README.md: unification of Development Build term
ia Dec 15, 2024
c41c473
README.md: use markdown list for build types in the builds description
ia Dec 15, 2024
2721cf6
Merge pull request #2024 from ia/development-builds
ia Dec 15, 2024
9ddf5c2
Update ru translation
ia Dec 19, 2024
4fb95a6
Merge pull request #2026 from ia/lang-RU
ia Dec 19, 2024
6cc8b81
WiP Thermal rewrite
Ralim Dec 7, 2024
d313f62
Fomatting and adjust setpoint
Ralim Dec 7, 2024
cfa2591
Update Soldering.cpp
Ralim Dec 7, 2024
8f05433
Update PIDThread.cpp
Ralim Dec 7, 2024
e45d648
Merge pull request #2012 from Ralim/issue-1946-thermal-runaway-update
Ralim Dec 22, 2024
dd4a550
Merge pull request #2018 from Ralim/version
Ralim Dec 22, 2024
1d9b16e
Typo corrected (Squire -> Sequre)
StevenSeifried Dec 22, 2024
a9e899c
Merge pull request #2028 from StevenSeifried/sequre-typo
Ralim Dec 22, 2024
d899dc7
Updated translation_DE.json
StevenSeifried Dec 22, 2024
37efde3
Merge pull request #2029 from StevenSeifried/update_translation_DE
Ralim Dec 22, 2024
71a1e2a
Updated translation_DE.json (again) (#2030)
StevenSeifried Dec 22, 2024
0a63b6b
Add macro to enable tip types for supported hardware only
ia Dec 23, 2024
5f38e18
Implement getUserSelectedTipResistance() as stub
ia Dec 23, 2024
6cf9916
Revert formatting for the unmodified file
ia Dec 23, 2024
ee6aff5
Restore the original file
ia Dec 23, 2024
989a2cf
Merge pull request #2031 from ia/tip-type
ia Dec 24, 2024
1e285a6
Set tip type as auto by default
ia Dec 24, 2024
5347385
Merge pull request #2032 from ia/tip-type-ts80
ia Dec 24, 2024
5cf9d5b
Update PL translation (v2.23 rc1)
KITT3000 Dec 26, 2024
000eba7
Merge pull request #2035 from KITT3000/patch-7
ia Dec 26, 2024
169d9e6
Allocate fixed ID's for Operating Modes
Ralim Jan 5, 2025
42fb9e1
Merge pull request #2042 from Ralim/fix-op-mode-enum
Ralim Jan 6, 2025
a3082c3
Drop crit section on I2C
Ralim Jan 10, 2025
b401dc8
Merge pull request #2048 from Ralim/pinecilv2-i2c-rework
Ralim Jan 10, 2025
fd91cf9
Revert "Merge pull request #2048 from Ralim/pinecilv2-i2c-rework"
Ralim Jan 11, 2025
dfddd59
Update translation_IT.json (#2052)
fredericuslaurentii Jan 20, 2025
f67cc25
Update translation_UK.json (#2058)
resistancelion Jan 25, 2025
aa0784d
Set python-version for actions/setup-python to remove the github acti…
ia Jan 27, 2025
22d0676
scripts/deploy.sh: add handmade linter for translation-related json f…
ia Feb 1, 2025
ab1fa24
settingsGUI.cpp: remove duplicated calls (#2065)
safocl Feb 2, 2025
5797d5a
fix: accessing inactive union members
safocl Feb 2, 2025
e2c4ea4
Merge pull request #2066 from safocl/fix_union_member_usage
Ralim Feb 2, 2025
c7b0294
README.md: add BLE notice
ia Feb 2, 2025
f01ab47
README.md: update formatting
ia Feb 2, 2025
02bc98e
Merge pull request #2067 from ia/readme-ble
ia Feb 2, 2025
4ce63fa
README.md: fix formatting of heading levels for BLE section (#2068)
ia Feb 2, 2025
08ff68c
Added guide for compiling under Windows (#2060)
resistancelion Feb 7, 2025
ebdff59
Default to no EPR/PPS so its opt in (#2073)
Ralim Feb 8, 2025
dc2b91c
Debug Menu: add time of compilation to timestamp build
ia Feb 13, 2025
68aac28
Debug Menu: update documentation about timestamp format
ia Feb 13, 2025
8a392b5
Add the notice about EPR/PPS disabled by default in the main README.m…
ia Feb 19, 2025
c92bf89
Merge pull request #2075 from ia/debug-time
ia Feb 19, 2025
7c6ce81
Add minimal sink caps
Ralim Feb 22, 2025
3ed86d2
sink caps: Add default profiles
Ralim Feb 22, 2025
57c8a35
Merge pull request #2081 from Ralim/pd-sink-cap
Ralim Feb 22, 2025
d122a9f
Dont adjust pinecilv2 max temp by Coe
Ralim Feb 22, 2025
2b8568c
add assert for addition overflow on queue creation (#225)
tabudz Feb 22, 2025
f810921
Merge pull request #2083 from tabudz/fix-CVE-2021-31571
Ralim Feb 22, 2025
0515832
Merge pull request #2082 from Ralim/pinecil-v2-tip-disconnected
Ralim Feb 22, 2025
be1536b
Update I2C_Wrapper.cpp
Ralim Jan 11, 2025
53982ef
Use the ADC_MAX_READING value
Ralim Jan 11, 2025
c2ec65c
Use runaway counter trigger
Ralim Jan 11, 2025
48b2812
[Squash] Move I2C to IRQ based for big txn
Ralim Feb 21, 2025
5c7cfe2
I2C inner function needs irq's
Ralim Feb 22, 2025
786a0a4
Use IRQ for all I2C Writes
Ralim Feb 22, 2025
166339e
Add Rx FIFO status
Ralim Feb 22, 2025
c4df679
Ensure lock occurs once result captured
Ralim Feb 22, 2025
4087fc6
IRQ Read from FiFo
Ralim Feb 22, 2025
622d8aa
Add some PinecilV2 troubleshooing notes
Ralim Feb 22, 2025
0ed2d84
Refactor I2C result to use notifications, allowing faster task yield
Ralim Feb 22, 2025
5feefc5
Mask BLE IRQ's during OLED update
Ralim Feb 23, 2025
7eee1b7
Update alpine
Ralim Feb 23, 2025
2794547
Explicit cast
Ralim Feb 23, 2025
3e453f1
Update FreeRTOS to latest release
Ralim Feb 23, 2025
f026e51
Update GUIThread.cpp
Ralim Feb 24, 2025
e8db6d5
Update FreeRTOSConfig.h
Ralim Feb 24, 2025
dd6c71a
Merge branch 'update' into i2c-rework-2
Ralim Feb 24, 2025
3a6a22c
Use indexed notifications for I2C
Ralim Feb 24, 2025
40655a9
Updated Overall French Translations (#2085)
justleska Feb 25, 2025
c9a74cb
Fixed & Updated French Translations (#2086)
justleska Feb 26, 2025
6e724b9
Merge branch 'dev' into i2c-rework-2
Ralim Feb 27, 2025
7ec1ece
Merge pull request #2049 from Ralim/i2c-rework-2
Ralim Feb 27, 2025
08002e0
Fix RToS Update (#2091)
Ralim Mar 1, 2025
d775036
Fix: Potential Vulnerability in Cloned Function (#2087)
tabudz Mar 1, 2025
0e044cf
README: add notice about another revision of TS101 with a different n…
oliverpool Mar 1, 2025
c6bdc28
Add option to swap A / B buttons in Settings menu (#2059)
resistancelion Mar 4, 2025
7de5698
push.yml: update runs-on to ubuntu-24.04 to fix upload_metadata build…
ia Mar 4, 2025
5041326
Add missing BLE settings (#2095)
Ralim Mar 4, 2025
51afcbd
Revert "Add option to swap A / B buttons in Settings menu" (#2098)
ia Mar 4, 2025
5e8ab27
Mhp 30 fixes (#2094)
Ralim Mar 5, 2025
83aa1b6
Adding Pinecilv2 ws2812b mod option (#2099)
doegox Mar 6, 2025
7dbc55f
Probably a finally proper fix for #2076
ia Mar 7, 2025
11d9f1a
Fix code style
ia Mar 7, 2025
42aeee1
Alternative solution with more code lines in different functions
ia Mar 7, 2025
c698c58
Making clang-format happy
ia Mar 7, 2025
03ec177
Merge pull request #2102 from ia/soldering-home-no-slide
ia Mar 9, 2025
ce3fea8
Add option to swap A/B buttons in Settings menu with minimal changes …
ia Mar 10, 2025
ccda171
Disable ReverseButtonSettings option by default
ia Mar 10, 2025
1a673b8
Swap AB buttons setting: use another approach by keeping original swi…
ia Mar 10, 2025
24ffc3e
Switch slide scrolling animation for debug menu from the bottom
ia Mar 16, 2025
a66dbeb
Update debug time stamp according to the official recommendation from…
ia Mar 16, 2025
61f5211
Merge pull request #2107 from ia/debug-time
ia Mar 16, 2025
d3bc0fd
Sync
ia Mar 16, 2025
bd15926
Makefile: add diff output for python linter if there are some warnings
ia Mar 19, 2025
6de9dd8
.github/push.yml: add diff output for python linter if there are some…
ia Mar 19, 2025
ac080eb
Merge pull request #2108 from ia/py-diff
ia Mar 19, 2025
ab6657c
Sync
ia Mar 19, 2025
3d331aa
Merge pull request #2103 from ia/reverse-button-settings
ia Mar 19, 2025
8d40afc
Add missing dependency (#2118)
nomakewan Apr 14, 2025
6b20522
Updated translation_DE.json (#2128)
StevenSeifried May 20, 2025
0f3e03e
blisp typo in Logo.md (#2129)
protato7 May 22, 2025
0813b38
Update translation_RU.json (#2130)
Sirse Jun 8, 2025
1184163
Update translation_ES.json (#2133)
IkerGarcia Jul 2, 2025
985075a
Update translation_IT.json (#2117)
fredericuslaurentii Jul 4, 2025
bc6d5d1
Update translation_LT.json (#2134)
Witska Jul 6, 2025
260891b
Adding documentation around debugging PD PSU's (#2111)
Ralim Jul 7, 2025
009aa10
Fix docs gen check (#2139)
Ralim Jul 16, 2025
c00df49
Added support for spaces in directory names (#2140)
0Karakurt0 Jul 16, 2025
580bc4f
Updated flasher script with some quality of life (#2141)
0Karakurt0 Jul 17, 2025
b4bb6d5
Fix 2115 2131 (#2143)
Ralim Jul 23, 2025
dda6a82
Minor PD changes, mostly fixing NO_DYNAMIC (#2142)
Ralim Jul 23, 2025
2d82dc3
Update translation_FR.json (#2145)
FeisarFPV Jul 25, 2025
405cb6c
Update translation_FR.json (#2147)
FeisarFPV Jul 26, 2025
fb4a483
chore(deps): bump actions/download-artifact from 4 to 5 (#2150)
dependabot[bot] Aug 12, 2025
d4eb28c
Change `u8_t` to `uint8_t` to fix a build issue with Docker under mac…
gknops Aug 15, 2025
0925944
chore(deps): bump actions/checkout from 4 to 5 (#2152)
dependabot[bot] Aug 25, 2025
494b372
Merge branch 'master' into dev
Ralim Aug 31, 2025
b64d50d
Update scripts/flash_ts10X_linux.sh
Ralim Aug 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 7 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,38 @@

name: Docs

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request
push:
branches: [ dev, docs ]
branches: [dev, docs]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:


# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true


jobs:
deploy-docs:
# The type of runner that the job will run on
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v4

- uses: actions/setup-python@v5
with:
python-version: '3.12.3'

- run: |
pip install --upgrade pip &&
pip install mkdocs mkdocs-gen-files pymdown-extensions \
mkdocs-git-revision-date-plugin mkdocs-autolinks-plugin \
mkdocs-awesome-pages-plugin
mkdocs-awesome-pages-plugin

- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'

- name: Publish docs
Expand Down
147 changes: 90 additions & 57 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,43 @@
name: CI

on: [push, pull_request]
on:
push:
pull_request:
branches:
- master
- dev
- main

jobs:


build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container:
image: alpine:3.16
image: alpine:3.21
strategy:
matrix:
model: ["TS100", "TS80", "TS80P", "Pinecil", "MHP30", "Pinecilv2", "S60", "TS101"]
model:
[
"TS100",
"TS80",
"TS80P",
"Pinecil",
"MHP30",
"Pinecilv2",
"S60",
"S60P",
"T55",
"TS101",
]
fail-fast: true

steps:
- name: Install dependencies (apk)
run: apk add --no-cache gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git bash
run: apk add --no-cache gcc-riscv-none-elf g++-riscv-none-elf gcc-arm-none-eabi g++-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git bash

- name: Install dependencies (python)
run: python3 -m pip install bdflib
run: python3 -m pip install --break-system-packages bdflib

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true

Expand All @@ -37,44 +53,38 @@ jobs:
- name: Copy license files
run: cp LICENSE scripts/LICENSE_RELEASE.md source/Hexfile/

- name: Generate json index file
run: ./source/metadata.py ${{ matrix.model }}.json

- name: Archive ${{ matrix.model }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.model }}
path: |
source/Hexfile/${{ matrix.model }}_*.hex
source/Hexfile/${{ matrix.model }}_*.dfu
source/Hexfile/${{ matrix.model }}_*.bin
source/Hexfile/${{ matrix.model }}.json
source/Hexfile/LICENSE
source/Hexfile/LICENSE_RELEASE.md
if-no-files-found: error

- name: Generate json index file
run: ./source/metadata.py ${{ matrix.model }}.json

- name: Archive ${{ matrix.model }} index file
uses: actions/upload-artifact@v3
with:
name: metadata
path: source/Hexfile/${{ matrix.model }}.json


build_multi-lang:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container:
image: alpine:3.16
image: alpine:3.21
strategy:
matrix:
model: ["Pinecil", "Pinecilv2"]
fail-fast: true

steps:
- name: Install dependencies (apk)
run: apk add --no-cache gcc-riscv-none-elf newlib-riscv-none-elf findutils python3 py3-pip make git bash musl-dev
run: apk add --no-cache gcc-riscv-none-elf g++-riscv-none-elf gcc-arm-none-eabi g++-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git bash musl-dev
- name: Install dependencies (python)
run: python3 -m pip install bdflib
run: python3 -m pip install --break-system-packages bdflib

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true

Expand All @@ -85,101 +95,120 @@ jobs:
run: echo "GITHUB_CI_PR_SHA=${{github.event.pull_request.head.sha}}" >> "${GITHUB_ENV}"

- name: Build ${{ matrix.model }}
run: make -C source/ -j$(nproc) model="${{ matrix.model }}" firmware-multi_compressed_European firmware-multi_compressed_Bulgarian+Russian+Serbian+Ukrainian firmware-multi_Chinese+Japanese
run: make -C source/ -j$(nproc) model="${{ matrix.model }}" firmware-multi_compressed_European firmware-multi_compressed_Belorussian+Bulgarian+Russian+Serbian+Ukrainian firmware-multi_Chinese+Japanese

- name: Copy license files
run: cp LICENSE scripts/LICENSE_RELEASE.md source/Hexfile/

- name: Generate json index file
run: ./source/metadata.py ${{ matrix.model }}_multi-lang.json

- name: Archive ${{ matrix.model }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.model }}_multi-lang
path: |
source/Hexfile/${{ matrix.model }}_*.hex
source/Hexfile/${{ matrix.model }}_*.dfu
source/Hexfile/${{ matrix.model }}_*.bin
source/Hexfile/${{ matrix.model }}_multi-lang.json
source/Hexfile/LICENSE
source/Hexfile/LICENSE_RELEASE.md
if-no-files-found: error

- name: Generate json index file
run: ./source/metadata.py ${{ matrix.model }}_multi-lang.json
upload_metadata:
needs: [build, build_multi-lang]
runs-on: ubuntu-24.04

- name: Archive ${{ matrix.model }} index file
uses: actions/upload-artifact@v3
steps:
- name: Download all prebuilts
uses: actions/download-artifact@v5
with:
name: metadata
path: source/Hexfile/${{ matrix.model }}_multi-lang.json
path: source/Hexfile/
merge-multiple: true
- run: ls -R source/Hexfile

- name: Upload JSONs in bulk as metadata
uses: actions/upload-artifact@v4
with:
name: metadata
path: source/Hexfile/*.json
if-no-files-found: error

tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container:
image: alpine:3.16
image: alpine:3.21

steps:
- name: Install dependencies (apk)
run: apk add --no-cache python3 py3-pip make git bash findutils gcc musl-dev

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true

- name: Install dependencies (python)
run: python3 -m pip install bdflib
run: python3 -m pip install --break-system-packages bdflib

- name: Run python tests
run: ./Translations/make_translation_test.py

- name: Run BriefLZ tests
run: make -C source/ Objects/host/brieflz/libbrieflz.so && ./Translations/brieflz_test.py


check_c-cpp:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container:
image: alpine:3.16
image: alpine:3.21

steps:
- name: Install dependencies (apk)
run: apk add --no-cache make git diffutils findutils clang-extra-tools bash

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true

- name: Check format style with clang-format
run: make clean check-style

check-settings-docs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- name: Run the menu docs generator
run: python Translations/gen_menu_docs.py
- name: Check that Documentation/Settings.md didn't change
run: git diff --exit-code

check_python:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container:
image: alpine:3.16
image: alpine:3.21

steps:
- name: Install dependencies (apk)
run: apk add --no-cache python3 py3-pip make git black

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true

- name: Install dependencies (python)
run: python3 -m pip install bdflib flake8
run: python3 -m pip install --break-system-packages bdflib flake8

- name: Check python formatting with black
run: black --check Translations
run: black --diff --check Translations

- name: Check python with flake8
run: flake8 Translations


check_shell:
name: check_shell
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
Expand All @@ -188,19 +217,23 @@ jobs:
exclude: "./.git/*" # Optional.
check_all_files_with_shebangs: "false" # Optional.


check_readme:
runs-on: ubuntu-20.04
check_docs:
runs-on: ubuntu-24.04
container:
image: alpine:3.16
image: alpine:3.21

steps:
- name: Install dependencies (apk)
run: apk add --no-cache git
run: apk add --no-cache git bash grep

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true
fetch-tags: true
fetch-depth: 0

- name: Git ownership exception
run: git config --global --add safe.directory /__w/IronOS/IronOS && git config --global safe.directory "$GITHUB_WORKSPACE"

- name: Check autogenerated Documentation/README.md
run: /bin/sh ./scripts/deploy.sh docs_readme
- name: Check and verify documentation
run: ./scripts/deploy.sh docs
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,4 @@ Logo GUI/TS100 Logo Editor/TS100 Logo Editor/bin/

# Tests/linters/sanitizers
source/check-style.log
.ash_history
Loading