Add initial RVC4 support #446
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: Dev Workflow | |
on: | |
push: | |
branches-ignore: | |
- xlink_upstream | |
pull_request: | |
branches-ignore: | |
- xlink_upstream | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
compiler: [default] | |
include: | |
- os: windows-latest | |
compiler: mingw | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
# - name: Install dependencies | |
# if: matrix.os == 'macos-latest' | |
# run: | | |
# brew install libusb | |
# - name: Install dependencies | |
# if: matrix.os == 'ubuntu-latest' | |
# run: | | |
# sudo apt-get install libusb-1.0-0-dev | |
# sudo apt-get install libusb-1.0-0 | |
- name: Setup MinGW compiler | |
if: matrix.compiler == 'mingw' | |
run: | | |
choco install mingw | |
choco upgrade mingw | |
- name: configure (Debug) | |
if: matrix.compiler == 'default' | |
run: cmake . -Bbuild -DXLINK_BUILD_EXAMPLES=ON -DXLINK_BUILD_TESTS=ON | |
- name: configure (Debug) | |
if: matrix.compiler == 'mingw' | |
run: cmake . -Bbuild -DXLINK_BUILD_EXAMPLES=ON -DXLINK_BUILD_TESTS=ON -G"MinGW Makefiles" | |
- name: build (Debug) | |
run: cmake --build build --parallel --config Debug | |
- name: test (Debug) | |
shell: bash | |
run: ctest --test-dir build -C Debug --output-on-failure | |
- name: reconfigure (Release) | |
run: cmake . -Bbuild -DCMAKE_BUILD_TYPE=Release | |
- name: build (Release) | |
run: cmake --build build --parallel --config Release | |
- name: test (Release) | |
shell: bash | |
run: ctest --test-dir build -C Release --output-on-failure |