Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run_test_report.py checks and updates #40

Merged
merged 7 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 59 additions & 35 deletions .github/workflows/build-quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,62 @@ jobs:
if: github.repository_owner == 'oneapi-src'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: oneapi-src/level-zero
path: level-zero
- run: |
sudo apt-get update
sudo apt-get install -y \
libboost-all-dev \
libpapi-dev \
libpng-dev \
libva-dev
- uses: hendrikmuhs/ccache-action@v1
- name: Build Loader
working-directory: level-zero
run: |
mkdir build
cd build
cmake \
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
-D CMAKE_BUILD_TYPE=Release \
..
make -j$(nproc)
sudo make install
- name: Build Tests
run: |
mkdir build
cd build
cmake \
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
-D CMAKE_BUILD_TYPE=Release \
..
make -j$(nproc)
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: oneapi-src/level-zero
path: level-zero
- run: |
sudo apt-get update
sudo apt-get install -y \
libboost-all-dev \
libpapi-dev \
libpng-dev \
libva-dev
- uses: hendrikmuhs/ccache-action@v1
- name: Build Loader
working-directory: level-zero
run: |
mkdir build
cd build
cmake \
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
-D CMAKE_BUILD_TYPE=Release \
..
make -j$(nproc)
sudo make install
- name: Build Tests
run: |
mkdir build
cd build
cmake \
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
-D CMAKE_BUILD_TYPE=Release \
..
make -j$(nproc) install
- name: Check ./scripts/level_zero_report_utils.py
env:
ZE_ENABLE_NULL_DRIVER: 1
LD_LIBRARY_PATH: ${{ github.workspace }}/level-zero/build/lib
run: | #bash
./scripts/run_test_report.py \
--run_test_sections all \
--binary_dir ./build/out \
--export_test_plan plan.csv
echo "::group::Test Plan"
cat plan.csv
echo "::endgroup::"
- name: Check that basic feature tests haven't changed
env:
ZE_ENABLE_NULL_DRIVER: 1
LD_LIBRARY_PATH: ${{ github.workspace }}/level-zero/build/lib
run: | #bash
./scripts/run_test_report.py \
--run_test_features basic \
--binary_dir ./build/out \
--export_test_plan basic_features.csv
git diff --no-index --exit-code \
<(sort basic_features_freeze.csv) \
<(sort basic_features.csv)
Loading