GHA python refresh #4
Workflow file for this run
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: Makefile | |
| on: [push, pull_request, workflow_dispatch] | |
| defaults: | |
| run: | |
| shell: bash | |
| env: | |
| SETUP_PATH: .ci-local:.ci | |
| jobs: | |
| make: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| cmp: gcc | |
| base: "7.0" | |
| py: "3.x" | |
| - os: windows-latest | |
| cmp: vs2022 | |
| base: "7.0" | |
| py: "3.x" | |
| - os: macos-latest | |
| cmp: clang | |
| base: "7.0" | |
| py: "3.x" | |
| env: | |
| MODULES: "pvxs" | |
| BASE: ${{ matrix.base }} | |
| PVXS: master | |
| PVXS_REPOOWNER: epics-base | |
| CMP: ${{ matrix.cmp }} | |
| BCFG: default | |
| TEST: ${{ matrix.test }} | |
| EXTRA: ${{ matrix.extra }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Automatic core dumper analysis | |
| uses: mdavidsaver/ci-core-dumper@ci | |
| - name: "apt-get install" | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install libreadline-dev g++-mingw-w64-x86-64 cmake gdb qemu-system-x86 libevent-dev | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.py }} | |
| - name: "brew libevent" | |
| if: runner.os == 'macOS' | |
| run: | | |
| brew install libevent | |
| echo "LIBEVENT=$(brew --prefix)" >> "$GITHUB_ENV" | |
| - name: Prepare and compile dependencies | |
| run: python .ci/cue.py prepare | |
| - name: Py Deps | |
| run: pip install Cython numpy ply nose2 | |
| - name: Build main module | |
| run: python .ci/cue.py build | |
| - name: Test | |
| run: python .ci/cue.py build nose |