github: move test script to /test and same for /build (#8714)
- Moved get_mesa.sh to build/common/get-mesa.sh - Moved check-headers.sh to test/check-headers/test.sh - Moved check-metal-shaders.sh to test/check-metal-shaders/test.sh
This commit is contained in:
2
.github/workflows/mac-continuous.yml
vendored
2
.github/workflows/mac-continuous.yml
vendored
@@ -26,4 +26,4 @@ jobs:
|
||||
path: out/filament-release-darwin.tgz
|
||||
- name: Check public headers
|
||||
run: |
|
||||
build/common/check-headers.sh out/release/filament/include
|
||||
test/check-headers/test.sh out/release/filament/include
|
||||
|
||||
6
.github/workflows/presubmit.yml
vendored
6
.github/workflows/presubmit.yml
vendored
@@ -131,7 +131,7 @@ jobs:
|
||||
- name: Prerequisites
|
||||
id: prereqs
|
||||
run: |
|
||||
bash test/utils/get_mesa.sh
|
||||
bash build/common/get-mesa.sh
|
||||
pip install tifffile numpy
|
||||
- name: Run Test
|
||||
run: bash test/renderdiff/test.sh
|
||||
@@ -153,8 +153,8 @@ jobs:
|
||||
- name: Run test
|
||||
run: ./out/cmake-debug/libs/filamat/test_filamat --gtest_filter=MaterialCompiler.Wgsl*
|
||||
|
||||
code-correctness:
|
||||
name: code-correctness
|
||||
test-code-correctness:
|
||||
name: test-code-correctness
|
||||
runs-on: 'macos-14-xlarge'
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.6
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
OUTPUT_DIR="$(pwd)/out/renderdiff_tests"
|
||||
RENDERDIFF_TEST_DIR="$(pwd)/test/renderdiff"
|
||||
TEST_UTILS_DIR="$(pwd)/test/utils"
|
||||
BUILD_COMMON_DIR="$(pwd)/build/common"
|
||||
MESA_DIR="$(pwd)/mesa/out/"
|
||||
VENV_DIR="$(pwd)/venv"
|
||||
|
||||
@@ -35,7 +35,7 @@ function start_() {
|
||||
set -ex
|
||||
else
|
||||
if [ ! -d ${MESA_LIB_DIR} ]; then
|
||||
bash ${TEST_UTILS_DIR}/get_mesa.sh
|
||||
bash ${BUILD_COMMON_DIR}/get-mesa.sh
|
||||
fi
|
||||
|
||||
# Install python deps
|
||||
|
||||
Reference in New Issue
Block a user