Fixed timeout in _rxraw #428
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: Spin2cpp CI | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
workflow_call: | |
jobs: | |
build_win32: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install MinGW | |
run: "sudo apt-get install gcc-mingw-w64-i686" | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: make zip CROSS=win32 | |
- name: Rename ZIP | |
run: | | |
mv flexptools.zip "flexptools-win32-`git describe --tags --always`.zip" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: release_zips_win32 | |
path: "./*.zip" | |
build_linux_amd64: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install musl-gcc | |
run: "sudo apt-get install musl-tools" | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: make zip CROSS=linux-musl | |
- name: Rename ZIP | |
run: | | |
mv flexptools.zip "flexptools-linux-amd64-`git describe --tags --always`.zip" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: release_zips_linux_amd64 | |
path: "./*.zip" | |
test_offline: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: make | |
run: make | |
- name: test | |
run: make test_offline | |
test_spinsim: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: make | |
run: make | |
- name: test | |
run: make test_spinsim | |