Re-enable conv2d constexpr tests & remove atleast_3d #677
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: riscv | |
on: | |
push: | |
branches: | |
- 'master' | |
tags: | |
- 'v*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
dockcross-riscv: | |
name: ${{ matrix.name }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
include: | |
- name: linux-riscv64 | |
- name: linux-riscv32 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup dockcross | |
run: docker run --rm dockcross/${{ matrix.name }} > ./dockcross-${{ matrix.name }}; chmod +x ./dockcross-${{ matrix.name }} | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: ./build/${{ matrix.name }} | |
key: ${{ github.job }}-${{ matrix.name }}-${{ hashFiles('./**') }} | |
- name: setup doctest | |
run: bash scripts/download_doctest_header.sh -d include/ | |
- name: build | |
run: ./dockcross-${{ matrix.name }} bash -c 'mkdir -p build/${{ matrix.name }} && cd build/${{ matrix.name }}/ && cmake ../.. && make -j2' |