1
0

chore: use new github action build layout

This commit is contained in:
2026-02-03 15:49:47 +08:00
parent b06bd587f6
commit 90fe7ddcaf
15 changed files with 49 additions and 46 deletions

View File

@@ -1,3 +1,4 @@
# GitHub Scripts
These scripts should be executed at the root directory of each project respectively.
These script files should be only used by GitHub Action.
These script files should be executed at the root directory of each project respectively.

View File

@@ -1,10 +1,6 @@
#!/bin/bash
set -euo pipefail
YYCCommonplace_ROOT="${YYCCommonplace_ROOT:?YYCCommonplace_ROOT must be set}"
STB_ROOT="${STB_ROOT:?STB_ROOT must be set}"
ZLIB_ROOT="${ZLIB_ROOT:?ZLIB_ROOT must be set}"
# Create build directory and enter it
mkdir bin
cd bin

View File

@@ -1,10 +1,6 @@
#!/bin/bash
set -euo pipefail
YYCCommonplace_ROOT="${YYCCommonplace_ROOT:?YYCCommonplace_ROOT must be set}"
STB_ROOT="${STB_ROOT:?STB_ROOT must be set}"
ZLIB_ROOT="${ZLIB_ROOT:?ZLIB_ROOT must be set}"
# Create build directory and enter it
mkdir bin
cd bin

View File

@@ -1,2 +1,2 @@
# Just directly record self as root directory
set STB_ROOT=$(pwd)
export STB_ROOT=$(pwd)

View File

@@ -1,2 +1,2 @@
# Just directly record self as root directory
set STB_ROOT=$(pwd)
export STB_ROOT=$(pwd)

View File

@@ -17,7 +17,7 @@ cd ..
# Record install directory
cd install
set YYCCommonplace_ROOT=$(pwd)
export YYCCommonplace_ROOT=$(pwd)
cd ..
# Back to root directory

View File

@@ -17,7 +17,7 @@ cd ..
# Record install directory
cd install
set YYCCommonplace_ROOT=$(pwd)
export YYCCommonplace_ROOT=$(pwd)
cd ..
# Back to root directory

View File

@@ -7,7 +7,7 @@ mkdir install
# Record install directory first because build step require it
cd install
set ZLIB_ROOT=$(pwd)
export ZLIB_ROOT=$(pwd)
cd ..
# Build in Release mode

View File

@@ -7,7 +7,7 @@ mkdir install
# Record install directory first because build step require it
cd install
set ZLIB_ROOT=$(pwd)
export ZLIB_ROOT=$(pwd)
cd ..
# Build in Release mode