# .github/workflows/ci-scripts-build.yml for use with EPICS Base ci-scripts # (see: https://github.com/epics-base/ci-scripts) # This is YAML - indentation levels are crucial # Set the 'name:' properties to values that work for you name: MYMODULE ci-scripts build # Trigger on pushes and PRs to any branch on: [push, pull_request] env: SETUP_PATH: .ci-local:.ci CMP: gcc jobs: build-linux: name: ${{ matrix.base }} / ${{ matrix.cmp }} / ${{ matrix.configuration }} / ${{ matrix.os }} runs-on: ${{ matrix.os }} # Set environment variables from matrix parameters env: CMP: ${{ matrix.cmp }} BCFG: ${{ matrix.configuration }} BASE: ${{ matrix.base }} strategy: fail-fast: false matrix: os: [ubuntu-20.04, ubuntu-18.04] cmp: [gcc] configuration: [default, static] base: ["7.0", "3.15"] steps: - uses: actions/checkout@v2 with: submodules: true - name: Prepare and compile dependencies run: python .ci/cue.py prepare - name: Build main module run: python .ci/cue.py build - name: Run main module tests run: python .ci/cue.py test - name: Collect and show test results run: python .ci/cue.py test-results