mirror of
https://github.com/humbletim/firestorm-gha.git
synced 2026-08-14 08:53:07 +00:00
ReleaseFS_open devtime testing
This commit is contained in:
@@ -42,6 +42,11 @@ jobs:
|
||||
ref: main
|
||||
path: p373r-vrmod-main
|
||||
|
||||
- name: Preflight Check
|
||||
uses: ./tpv-gha-nunja/gha-node20-run
|
||||
run: |
|
||||
echo OK
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
@@ -66,6 +71,7 @@ jobs:
|
||||
provision_openvr $PWD
|
||||
autobuild installables add --archive file:///`cygpath -m $PWD/openvr-v*.*.*.*.tar.bz2`
|
||||
autobuild install openvr --verbose
|
||||
PATH=/c/Program\ Files/Git/usr/bin:$PATH patch -p1 --merge < build-vc${AUTOBUILD_VSVER}-64/packages/lib/release/openvr_api.viewer_manifest.patch
|
||||
|
||||
- name: Provision 3p-p373r-vrmod
|
||||
run: |
|
||||
@@ -82,27 +88,25 @@ jobs:
|
||||
run: |
|
||||
autobuild configure -A 64 -c ReleaseFS_open -- --package -DLL_TESTS:BOOL=FALSE
|
||||
|
||||
- name: ~Setup tmate session
|
||||
if: always()
|
||||
# if: (failure() && inputs.pause != 'never') || inputs.pause == 'always'
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
autobuild build -A 64 -c ReleaseFS_open --no-configure
|
||||
|
||||
- name: Post Build
|
||||
uses: ./tpv-gha-nunja/gha-node20-run
|
||||
run: |
|
||||
ghash=./tpv-gha-nunja/gha ./tpv-gha-nunja/.github/workflows/ReleaseFS_open.yml.bash
|
||||
|
||||
- name: Upload unsigned installer
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: firestorm-installer
|
||||
path: build-*/newview/Release/*Setup.exe
|
||||
|
||||
# - name: ~Setup tmate session
|
||||
# if: always()
|
||||
# # if: (failure() && inputs.pause != 'never') || inputs.pause == 'always'
|
||||
# uses: mxschmitt/action-tmate@v3
|
||||
# with:
|
||||
# limit-access-to-actor: true
|
||||
- name: ~Setup tmate session
|
||||
if: always()
|
||||
# if: (failure() && inputs.pause != 'never') || inputs.pause == 'always'
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ packages_dir=${packages_dir:-$build_dir/packages}
|
||||
source_dir=${source_dir:-indra}
|
||||
snapshot_dir=${snapshot_dir:-$base}
|
||||
|
||||
mkdir -pv $snapshot_dir
|
||||
|
||||
function git_kv_sha() {
|
||||
function _git_sha() {
|
||||
local path="$1"
|
||||
@@ -40,8 +42,6 @@ function git_kv_sha() {
|
||||
|
||||
source $snapshot_dir/ReleaseFS_open.env
|
||||
|
||||
mkdir -pv $snapshot_dir
|
||||
|
||||
snapshot_dir_abs=$(readlink -f $snapshot_dir)
|
||||
|
||||
cpsync() { cp -lunrp "$@" ; }
|
||||
@@ -155,6 +155,9 @@ env | grep INPUT > $snapshot_dir/metadata/tmp/INPUT.env
|
||||
find $build_dir/ -type f > $snapshot_dir/metadata/tmp/build_dir.files
|
||||
|
||||
( cat /d/a/_temp/_runner_file_commands/step_summary_*-scrubbed > $snapshot_dir/metadata/summary.md ) || true
|
||||
|
||||
python ./tpv-gha-nunja/.github/workflows/ReleaseFS_open.yml.py audit | grep '/D' | sed -e 's@^ \+/D @-D@' | sort -u | tee $snapshot_dir/lldefines.rsp
|
||||
|
||||
# ( ninja -C $build_dir -t commands ${viewer_bin}-bin | grep -Eo '(")?[-]D[^ =]+(=[^ ]*)?\1?' | grep -vE '_EXPORTS$' | awk '!seen[$0]++' > $snapshot_dir/lldefines.rsp ) || true
|
||||
# cp -uav $nunja_dir/*defines.rsp $snapshot_dir/metadata/ 2>/dev/null || true
|
||||
|
||||
|
||||
@@ -171,7 +171,9 @@ def load_tlogs():
|
||||
files = glob.glob(pattern, recursive=True)
|
||||
|
||||
print(f"[*] Found {len(files)} TLOG files in {BUILD_ROOT}...")
|
||||
|
||||
files = [ f for f in files if not ( 'plugin' in f or 'webrtc' in f or 'cmake' in f) ]
|
||||
print(f"[**] (pruned plugin|webrtc|cmake) Found {len(files)} TLOG files in {BUILD_ROOT}...")
|
||||
|
||||
for fpath in files:
|
||||
try:
|
||||
with open(fpath, 'r', encoding='utf-16') as f: content = f.read()
|
||||
|
||||
Reference in New Issue
Block a user