diff --git a/.ci b/.ci index fbbfced..a32a1da 160000 --- a/.ci +++ b/.ci @@ -1 +1 @@ -Subproject commit fbbfced900b5e87de9a176a68c40b8cafa3e8e01 +Subproject commit a32a1dab0586dde3f5b2990506d54950e61ce25b diff --git a/.github/workflows/ci-scripts-build.yml b/.github/workflows/ci-scripts-build.yml new file mode 100644 index 0000000..0f632d9 --- /dev/null +++ b/.github/workflows/ci-scripts-build.yml @@ -0,0 +1,43 @@ +name: Build and Test + +# Trigger on pushes and PRs to any branch +on: + push: + pull_request: + workflow_dispatch: + +env: + SETUP_PATH: .ci + BASE_RECURSIVE: NO + +jobs: + test: + name: ${{ matrix.name }} + runs-on: ${{ matrix.os }} + env: + CMP: ${{ matrix.cmp }} + BCFG: default + BASE: "7.0" + + strategy: + fail-fast: false + matrix: + include: + - name: Linux Base7.0 + os: ubuntu-latest + cmp: gcc + + - name: MacOS Base7.0 + os: macos-latest + cmp: clang + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - name: Prepare and compile EPICS dependencies + run: python .ci/cue.py prepare + + - name: Build main module + run: python .ci/cue.py build diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c50121..ac06c13 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,3 +15,4 @@ repos: - id: ruff-check args: [ --fix ] - id: ruff-format +ci: {}