actually sort by newest. #24
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: guppy build | |
on: | |
push: | |
branches: [ "dev", "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
arch: [mips-linux-gnu-, aarch64-none-linux-gnu-] | |
theme: [zbolt, material] | |
runs-on: ubuntu-22.04 | |
container: | |
image: ballaswag/guppydev:latest | |
options: --user 1001 | |
env: | |
CROSS_COMPILE: ${{ matrix.arch }} | |
GUPPY_THEME: ${{ matrix.theme }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: set guppyscreen version | |
run: | | |
chmod +x ./version.sh | |
./version.sh >> $GITHUB_ENV | |
- name: patch lv_drivers | |
run: | | |
git apply ../patches/0001-lv_driver_fb_ioctls.patch | |
working-directory: ./lv_drivers | |
- name: patch fmt in spdlog | |
run: | | |
git apply ../patches/0002-spdlog_fmt_initializer_list.patch | |
working-directory: ./spdlog | |
- name: make wpaclient | |
run: make wpaclient | |
- name: make libhv | |
run: make libhv.a | |
- name: make guppyscreen | |
run: make -j | |
- name: package release | |
run: | | |
chmod +x ./release.sh | |
./release.sh >> $GITHUB_ENV | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.GUPPY_ARCHIVE_NAME }} | |
path: ./${{ env.GUPPY_ARCHIVE_NAME }}.tar.gz |