diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9febe44..9b8faaa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,12 @@ -on: #Ö¸¶¨´¥·¢ workflow µÄʼþ - push: #µ±´úÂëÍÆËÍʱ´¥·¢ - -jobs: #¶¨Ò幤×÷Á÷³Ì - build: #¹¤×÷Á÷Ãû³ÆΪ build - runs-on: ubuntu-22.04 #ʹÓà Ubuntu 22.04 »·¾³Ö´ÐÐ - container: #¶¨ÒåÈÝÆ÷ - image: archlinux:latest #ʹÓà Arch Linux ¾µÏñ - steps: #¶¨Ò幤×÷Á÷³ÌÖеIJ½Öè +on: #ָ������ workflow ���¼� + push: #����������ʱ���� + +jobs: #���幤������ + build: #����������Ϊ build + runs-on: ubuntu-22.04 #ʹ�� Ubuntu 22.04 ����ִ�� + container: #�������� + image: archlinux:latest #ʹ�� Arch Linux ���� + steps: #���幤�������еIJ��� - name: Install dependencies run: | pacman -Syyu --noconfirm \ @@ -17,22 +17,22 @@ jobs: # python-pip \ python-crcmod \ - - name: Checkout #À­È¡´úÂë - uses: actions/checkout@v4 #ʹÓà GitHub Actions ÌṩµÄ checkout ¶¯×÷ + - name: Checkout #��ȡ���� + uses: actions/checkout@v4 #ʹ�� GitHub Actions �ṩ�� checkout ���� - - name: safe.directory #ÉèÖà git µÄ safe.directory ÅäÖà + - name: safe.directory #���� git �� safe.directory ���� run: git config --global --add safe.directory /__w/uv-k5-firmware-custom/uv-k5-firmware-custom - - name: Make #Ö´ÐÐ make ÃüÁî - run: make full #±àÒëÏîÄ¿ + - name: Make #ִ�� make ���� + run: make test #������Ŀ - - name: size #¼ÆËã firmware ´óС - run: arm-none-eabi-size firmware #ʹÓà arm-none-eabi-size ÃüÁî¼ÆËã¹Ì¼þ´óС + - name: size #���� firmware ��С + run: arm-none-eabi-size firmware #ʹ�� arm-none-eabi-size �������̼���С - - name: Upload Artifact #ÉÏ´«¹Ì¼þÎļþ - uses: actions/upload-artifact@v4 #ʹÓà GitHub Actions ÌṩµÄ upload-artifact ¶¯×÷ + - name: Upload Artifact #�ϴ��̼��ļ� + uses: actions/upload-artifact@v4 #ʹ�� GitHub Actions �ṩ�� upload-artifact ���� with: - name: firmware #ÉèÖà artifact Ãû³ÆΪ firmware - path: LOSEHU*.bin #ÉÏ´«Îļþ·¾¶Îª LOSEHU*.bin + name: firmware #���� artifact ����Ϊ firmware + path: LOSEHU*.bin #�ϴ��ļ�·��Ϊ LOSEHU*.bin