Skip to content
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
46 changes: 46 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1025,3 +1025,49 @@ jobs:
run: |
grep -Lr "SPDX-License-Identifier: Apache-2.0" --exclude-dir="toolchain" --exclude-dir="install" --exclude-dir=".git" . --exclude-dir="third_party" --exclude-dir="TEST_*" --exclude-dir="runtime" | grep ".*\.h$" || [[ $? == 1 ]]
shell: bash

generate-network-type-inference:
runs-on: ${{ needs.select-docker-image-and-runner.outputs.runner }}
needs: select-docker-image-and-runner
container:
image: ${{ needs.select-docker-image-and-runner.outputs.image }}
strategy:
fail-fast: false
matrix:
include:
- name: fail-input0
platform: Generic
test: testTypeInferenceDifferentTypes
type_map: A=int8_t B=int8_t C=int8_t
offset_map: A=0 B=0 C=0
shouldFail: true
- name: fail-input2
platform: Generic
test: testTypeInferenceDifferentTypes
type_map: A=int16_t B=int8_t C=int16_t
offset_map: A=0 B=0 C=0
shouldFail: true
- name: pass
platform: Generic
test: testTypeInferenceDifferentTypes
type_map: A=int16_t B=int8_t C=int32_t
offset_map: A=0 B=0 C=0
shouldFail: false
name: Test Type Inference (${{ matrix.name }})
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Deeploy
run: pip install -e .
- name: Run Test
run: |
cd DeeployTest
python generateNetwork.py \
-p ${{ matrix.platform }} \
-t ./Tests/${{ matrix.test }} \
-v \
--input-type-map ${{ matrix.type_map }} \
--input-offset-map ${{ matrix.offset_map }} \
${{ matrix.shouldFail && '--shouldFail' || '' }}
Loading
Loading