Skip to content

Commit

Permalink
Update Github Action Workflows
Browse files Browse the repository at this point in the history
Make the test build upload file to actions.
Move the build path to `${workspace}/build/` folder.
Changed relative link in `${workspace}/script/sys_ld.script`.

File changed:
- modified:   .github/workflows/build.yml
- modified:   .github/workflows/test.yml
- modified:   Script/sys_ld.script
- modified:   System/UI_build_stamp.h

PGP Signed by Tachibana Yuuki <[email protected]>
```
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGK7Ap4BEAC2ZQl7CYtWjUFFFladWcUjJa/VnvH9SxUCMoPW1LqFiTUZ9Eir
nYAUeZl+zvROYuWxMxUc/B1hUnPTYgVdLLHUgePt/WKk6TaO1AOakRkQUSkeidas
BrMWU5NUhxJILvMevYVCQDA0gaDXu9iZNqEPe4gXxRylAdngsSEWj70E0EEp/1wd
YRM4kAgkA7js+/49PMvoVNLQCfmZVDzAw3qEO+aLM3SjtX1Y8IrunsETHgWO70X9
cOCuDw5GAfPqcPZIUF74dR4sOavr/7UrBzkgSK2qRQRDwkR+VbFvLOWVawXBvDg/
/TA1cIaRlZDi6Wi4Z69wIuTiTClqs4V2Tj0QyMjJ6yELhv1sINdCYBLcp55v4Ogl
8D9burJTV1fca+k3g7vQ6ZzVOtLDMO6EZ9ZD6eM+MO9vqndjIPmJbgTrEXC8Nbz7
cy3qwoD0TG48kjyhooHB78CJXPMSFoGUqGtzfDXWQxZtTPsCXe3qVMmJCpN8O7gT
NWNa4RluKbTB8CAi4VD5EXZX1loHQo/fzgK2xeiI0hAN6/LKY7LEuzFquq3b8ZJB
zbdNApgI3MG+8ffwPlZcQwsCDeFzrbmL5TDT3/cxGFXwklAHE2C3Bk45U7gU53G7
WK70eu6Bal6POvsXwP2pgI3yAUmuOS2RaBjU5VV5J68xCQqhDYb9z2S7mQARAQAB
tBt5dXVraTQxMCA8eXV1a2k0MTBAMTYzLmNvbT6JAlQEEwEIAD4WIQS/7eChGu6y
t8FABhts3n8c9cJdCwUCYrsCngIbAwUJA8JnAAULCQgHAgYVC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U74Dq
GohVfjkGdtvI9jxa3X+YCURE+dWV7md5HgzwjYqRue2ifBhG54JbxAZatei2Y8lM
Hai9
=fPdS
-----END PGP PUBLIC KEY BLOCK-----
```
  • Loading branch information
yuuki410 committed Jan 5, 2023
1 parent d733d9e commit aef48f4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ jobs:
export PATH=/usr/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH
echo "#pragma once" > System/UI_build_stamp.h
echo "#define BUILD_STAMP \"Release build ${{ github.run_number }}\"" >> System/UI_build_stamp.h
cmake .
mkdir build
cmake -S . -B build
- name : CMake build
run: |
export PATH=/usr/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH
cmake --build .
cmake --build build
- name: Create GitHub release
uses: marvinpinto/action-automatic-releases@latest
with:
Expand All @@ -61,6 +62,6 @@ jobs:
title: build ${{ github.run_number }}
prerelease: false
files: |
./System/ExistOS.sys
./System/sys_symtab.txt
./OSLoader/OSLoader.sb
./build/System/ExistOS.sys
./build/System/sys_symtab.txt
./build/OSLoader/OSLoader.sb
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,18 @@ jobs:
- name: CMake configure
run: |
export PATH=/usr/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH
cmake .
cmake -S . -B build
- name : CMake build
run: |
export PATH=/usr/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH
cmake --build .
cmake --build build
- name: Upload OSLoader.sb
uses: actions/[email protected]
with:
name: OSLoader.sb
path: ./build/OSLoader/OSLoader.sb
- name: Upload ExistOS.sys
uses: actions/[email protected]
with:
name: ExistOS.sys
path: ./build/System/ExistOS.sys
2 changes: 1 addition & 1 deletion Script/sys_ld.script
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ SECTIONS
. = ALIGN(4);
*(.rodata)
fonts_hzk_start = .;
INCLUDE "../fonts/fonts_hzk16s.ld"
INCLUDE "../../fonts/fonts_hzk16s.ld"
fonts_hzk_end = .;
} >vmROM

Expand Down
2 changes: 1 addition & 1 deletion System/UI_build_stamp.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#pragma once
#define BUILD_STAMP "Development build"
#define BUILD_STAMP "Alpha Test Build v1.1.4.1"

0 comments on commit aef48f4

Please sign in to comment.