Skip to content

Debug address sanitization crashes in github actions #1615

Debug address sanitization crashes in github actions

Debug address sanitization crashes in github actions #1615

Workflow file for this run

# Copyright 2021 Google LLC
#
# 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.
name: ci
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
simd_width: [64]
filter: ["arg_parse.*", "ascii_diagram.*", "base64.*", "bit_ref.*", "circuit.*", "circuit_diagram_time_detector_slice_svg.*", "circuit_diagram_timeline_3d.*", "circuit_diagram_timeline_svg.*", "circuit_diagram_timeline_text.*", "circuit_diagram_time_slice_svg.*", "circuit_gen_params.*", "circuit_with_inlined_feedback.*", "command_analyze_errors.*", "command_convert.*", "command_detect.*", "command_diagram.*", "command_explain_errors.*", "command_gen.*", "command_m2d.*", "command_sample.*", "conversions.*", "coord.*", "coord_filter.*", "count_determined_measurements.*", "dem_instruction.*", "DemSampler.*", "dem_target.*", "DetectionSimulator.*", "detector_error_model.*", "detector_slice_set.*", "detector_slice_set_svg_diagram.*", "detector_slice_set_text_diagram.*", "diagram_timeline_svg_drawer.*", "ErrorAnalyzer.*", "ErrorMatcher.*", "export_qasm.*", "find_undetectable_logical_error.*", "FixedCapVector.*", "flex_pauli_string.*", "FrameSimulator.*", "gate_data.*", "gate_decomposition.*", "gate_target.*", "gen_color_code.*", "gen_rep_code.*", "gen_surface_code.*", "graph_simulator.*", "inv_space_fill_transform.*", "json_obj.*", "main.*", "matched_error.*", "match_graph_drawer_3d.*", "match_graph_drawer_svg.*", "measurements_to_detection_events.*", "MeasureRecord.*", "MeasureRecordBatch.*", "MeasureRecordBatchWriter.*", "MeasureRecordReader.*", "MeasureRecordWriter.*", "monotonic_buffer.*", "pauli_string.*", "PauliString.*", "pauli_string_iter.*", "pointer_range.*", "probability_util.*", "read_unsigned_int.*", "search_decay.*", "search_graphlike.*", "search_hyper_graph.*", "search_hyper_search_state.*", "shortest_graphlike_undetectable_logical_error.*", "simd_bits.*", "simd_bits_range_ref.*", "simd_bit_table.*", "simd_util.*", "simd_word.*", "simd_word_pick.*", "spares_shot.*", "sparse_shot.*", "SparseUnsignedRevFrameTracker.*", "sparse_xor_table.*", "sparse_xor_vec.*", "stabilizer_flow.*", "stim.*", "str_util.*", "tableau.*", "tableau_iter.*", "TableauSimulator.*", "vector_sim.*"]
steps:
- uses: actions/checkout@v1
- run: |
cd ..
git clone https://github.com/google/googletest.git -b release-1.12.1
mkdir googletest/build && cd googletest/build
cmake .. -DBUILD_GMOCK=OFF
make
sudo make install
- run: cmake . -DSIMD_WIDTH=${{ matrix.simd_width }}
- run: make stim_test -j 2
- run: out/stim_test --gtest_filter=${{ matrix.filter }}