From f419191172fd81feea6c7e6580951fee19949690 Mon Sep 17 00:00:00 2001 From: xtruan Date: Thu, 1 Aug 2024 20:53:48 -0600 Subject: [PATCH] ci: add ufbt build --- .DS_Store | Bin 6148 -> 0 bytes .github/workflows/ufbt_build.yaml | 36 ++++++++++++++++++++ .gitignore | 54 ++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) delete mode 100644 .DS_Store create mode 100644 .github/workflows/ufbt_build.yaml create mode 100644 .gitignore diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index f640a5ab462e73c723afa3081bc6796d2ba2825c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKO^?z*7=DMvrMT|OL6g0hH1SFh!E7{MSQZYOsE4i5!)lNM%Qjm&q%EQ$B%Jj> z_!qqTLyW({y9eV5pZQqR7D+r9W5~SC%rhVFGjHb^I>QhVYfk!iiAqFdAqmW1MfMvL z{UWVcPPgm=nHb~P=RMcwF6v@HV@3g^!2hj)_;&MDp&@w`XTIM<^qnrH$w};8`cao+ zJRvwPO;8$8l;M8NaIb?i#^Zz2lYEaj1sL%RwNZxs2JEki$lLIV@C*ji^Q61@HZE-#*YL7z{Xd=m5{$#qnRRkVto(*A5#uiY=(^;&&iwr3A&)v|rB zelVXGt(&*+JUr=K_@jWoliCu)4k}HoNYdV;lA8Z(Ck%WZ4ACw)mQ++}IfkOcw3h5U ze7-4tmP?ec(FJsTOC78O$BKBUg;U5@?De60zIN*I-)i`A&1(lZZ zZh+}uoVBw7b1_pe3K#|ct^#6zu#p5dG%gg%tpl070s!-9mWHzY>kqU=1F)fSp%5)F zrl>$gW%`Q2^v!`OI{F*hf1yy(iOI+qM@MG*hQjp4gW1xZSVN)7jRHo2v;teIS`z1f zd;R@CO)@p3fKgzh6kz$5(`sT$`fOd9oH%Q3q*qA7gx^A;q#)DBu`GzAcppg``fO1E WHZ(32q6KFD2uK-BW)%3R3j736^yt$7 diff --git a/.github/workflows/ufbt_build.yaml b/.github/workflows/ufbt_build.yaml new file mode 100644 index 00000000000..1d81b30ec2b --- /dev/null +++ b/.github/workflows/ufbt_build.yaml @@ -0,0 +1,36 @@ +name: "uFBT Build" +on: + workflow_dispatch: + push: + branches: + - main + - develop + pull_request: + # schedule: + # do a build every day + # - cron: "1 1 * * *" +jobs: + ufbt-build-action: + runs-on: ubuntu-latest + strategy: + matrix: + include: + - name: dev channel + sdk-channel: dev + - name: release channel + sdk-channel: release + name: 'ufbt: Build for ${{ matrix.name }}' + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build with ufbt + uses: flipperdevices/flipperzero-ufbt-action@v0.1.3 + id: build-app + with: + sdk-channel: ${{ matrix.sdk-channel }} + sdk-index-url: ${{ matrix.sdk-index-url }} + - name: Upload app artifacts + uses: actions/upload-artifact@v3 + with: + name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }} + path: ${{ steps.build-app.outputs.fap-artifacts }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..c8691d7854b --- /dev/null +++ b/.gitignore @@ -0,0 +1,54 @@ +# Prerequisites +*.d + +# Object files +*.o +*.ko +*.obj +*.elf + +# Linker output +*.ilk +*.map +*.exp + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex + +# Debug files +*.dSYM/ +*.su +*.idb +*.pdb + +# Kernel Module Compile Results +*.mod* +*.cmd +.tmp_versions/ +modules.order +Module.symvers +Mkfile.old +dkms.conf + +.DS_Store \ No newline at end of file