Skip to content

Fix ASAN alignment issues in pcutil writer #44

Fix ASAN alignment issues in pcutil writer

Fix ASAN alignment issues in pcutil writer #44

Workflow file for this run

# Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Author: Daniel Koch <dkoch@nvidia.com>
name: CI Build
on:
push:
pull_request:
branches:
- main
jobs:
linux:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
cc: [ gcc, clang ]
cxx: [g++, clang++]
config: [ Debug, Release ]
os: [ ubuntu-20.04, ubuntu-latest ]
exclude:
- cc: gcc
cxx: clang++
- cc: clang
cxx: g++
steps:
- uses: actions/checkout@v3
- name: Configure VulkanSC PCUtils
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}}
env:
CC: ${{matrix.cc}}
CXX: ${{matrix.cxx}}
- name: Build VulkanSC PCUtils
run: cmake --build build
- name: Run regression tests
working-directory: ./build
run: ./pctest &> results.txt;
diff -u ../golden_results.txt results.txt
windows:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
arch: [ Win32, x64 ]
config: [ Debug, Release ]
os: [ windows-2019 ]
steps:
- uses: actions/checkout@v3
- name: Configure VulkanSC PCUtils
run: cmake -S. -Bbuild -A${{matrix.arch}}
- name: Build VulkanSC PCUtils
run: cmake --build build --config ${{matrix.config}}
# - name: Run regression tests
# working-directory: ./build
# run: ${{matrix.config}}\pctest.exe > results.txt 2>&1 &&
# fc ..\golden_results.txt results.txt
mac:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
config: [ Debug, Release ]
os: [ macos-11 ]
steps:
- uses: actions/checkout@v3
- name: Configure VulkanSC PCUtils
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}}
- name: Build VulkanSC PCUtils
run: cmake --build build
- name: Run regression tests
working-directory: ./build
run: ./pctest &> results.txt;
diff -u ../golden_results.txt results.txt