From 16080f0cbf79379ab5b550c8dfc9feaa40ee32cb Mon Sep 17 00:00:00 2001 From: Eric Flumerfelt Date: Thu, 19 Dec 2024 10:20:12 -0600 Subject: [PATCH] Add Github CI Actions --- .github/workflows/mu2e-build-single-pkg.yml | 18 ++++++++++++++++ .github/workflows/mu2e-develop-cpp-ci.yml | 24 +++++++++++++++++++++ .github/workflows/mu2e-test-single-pkg.yml | 18 ++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100755 .github/workflows/mu2e-build-single-pkg.yml create mode 100755 .github/workflows/mu2e-develop-cpp-ci.yml create mode 100755 .github/workflows/mu2e-test-single-pkg.yml diff --git a/.github/workflows/mu2e-build-single-pkg.yml b/.github/workflows/mu2e-build-single-pkg.yml new file mode 100755 index 0000000..488a733 --- /dev/null +++ b/.github/workflows/mu2e-build-single-pkg.yml @@ -0,0 +1,18 @@ +name: Build Single Pkg Workflow + +on: + push: + branches: + - develop + paths-ignore: + - 'docs/**' + - '.github/**' + pull_request: + branches: [ develop ] + workflow_dispatch: + +jobs: + + build_single_pkg: + name: build single pkg + uses: Mu2e/.github/.github/workflows/mu2e-build-single-pkg.yml@stable diff --git a/.github/workflows/mu2e-develop-cpp-ci.yml b/.github/workflows/mu2e-develop-cpp-ci.yml new file mode 100755 index 0000000..f8bfa79 --- /dev/null +++ b/.github/workflows/mu2e-develop-cpp-ci.yml @@ -0,0 +1,24 @@ +name: build-develop + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + push: + branches-ignore: + - develop + - stable + paths-ignore: + - 'docs/**' + - '.github/**' + pull_request: + branches: [ develop ] + schedule: + - cron: "0 7 * * *" + + workflow_dispatch: + + +jobs: + build_against_dev_release: + name: Build against develop + uses: Mu2e/.github/.github/workflows/mu2e-develop-cpp-ci.yml@stable diff --git a/.github/workflows/mu2e-test-single-pkg.yml b/.github/workflows/mu2e-test-single-pkg.yml new file mode 100755 index 0000000..79967e8 --- /dev/null +++ b/.github/workflows/mu2e-test-single-pkg.yml @@ -0,0 +1,18 @@ +name: Test Single Pkg Workflow + +on: + push: + branches: + - develop + paths-ignore: + - 'docs/**' + - '.github/**' + pull_request: + branches: [ develop ] + workflow_dispatch: + +jobs: + + build_single_pkg: + name: test single pkg + uses: Mu2e/.github/.github/workflows/mu2e-test-single-pkg.yml@stable