seq: improve seq_queue implementation and tests #34
This file contains hidden or 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: Sequencer-Build | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'documentation/*' | |
| - '**/*.html' | |
| - '**/*.md' | |
| pull_request: | |
| env: | |
| SETUP_PATH: .ci-local | |
| APT: re2c | |
| CHOCO: re2c | |
| BREW: re2c | |
| jobs: | |
| build: | |
| name: ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| # Set environment variables from matrix parameters | |
| env: | |
| CMP: ${{ matrix.cmp }} | |
| BCFG: ${{ matrix.configuration }} | |
| BASE: ${{ matrix.base }} | |
| BASE_RECURSIVE: no | |
| CI_CROSS_TARGETS: ${{ matrix.cross }} | |
| EXTRA: ${{ matrix.extra }} | |
| TEST: ${{ matrix.test }} | |
| VV: "1" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| cmp: gcc | |
| configuration: default | |
| base: "7.0" | |
| name: "Ub-22 gcc base-7.0" | |
| - os: ubuntu-latest | |
| cmp: clang | |
| configuration: default | |
| base: "7.0" | |
| name: "Ub-22 clang base-7.0" | |
| - os: ubuntu-latest | |
| cmp: gcc | |
| configuration: default | |
| base: "3.15" | |
| name: "Ub-22 gcc base-3.15" | |
| - os: ubuntu-latest | |
| cmp: gcc | |
| configuration: default | |
| base: "3.14" | |
| name: "Ub-22 gcc base-3.14" | |
| - os: ubuntu-latest | |
| cmp: gcc | |
| configuration: default | |
| cross: "RTEMS-pc686-qemu@5" | |
| base: "7.0" | |
| name: "Ub-22 gcc + RT-5.1 pc686 base-7.0" | |
| - os: macos-latest | |
| cmp: clang | |
| configuration: default | |
| base: "7.0" | |
| name: "MacOS clang base-7.0" | |
| - os: windows-2022 | |
| cmp: vs2022 | |
| configuration: default | |
| base: "7.0" | |
| name: "Win-22 MSC22 base-7.0" | |
| - os: windows-2022 | |
| cmp: vs2022 | |
| configuration: static | |
| base: "7.0" | |
| name: "Win-22 MSC22 base-7.0 static" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: "apt-get install" | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install re2c gdb libreadline-dev | |
| if: runner.os == 'Linux' | |
| - name: Automatic core dumper analysis | |
| uses: mdavidsaver/ci-core-dumper@master | |
| - name: Prepare and compile dependencies | |
| run: python .ci/cue.py prepare | |
| - name: Apply patches | |
| run: patch -p1 -i ./seq-2.2.9-base707-fix.patch | |
| - name: Build main module | |
| run: python .ci/cue.py -T 60M build | |
| - name: Run main module tests | |
| run: python -m ci_core_dumper exec python .ci/cue.py -T 15M test | |
| - name: Collect and show test results | |
| if: ${{ always() }} | |
| run: python .ci/cue.py -T 5M test-results |