diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml deleted file mode 100644 index f8872fb..0000000 --- a/.github/workflows/commit.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: commit checks - -# build is done for every push on the repo + all the time another workflow requests it -on: [push] - -jobs: - build-murphy: - uses: ./.github/workflows/module_build.yml - with: - docker_image: vanreeslab/murphy_ci:v1.11 - - # if the normal builds have been successful we can try to build the tests - build-test: - needs: build-murphy - uses: ./.github/workflows/module_build_test.yml - with: - docker_image: vanreeslab/murphy_ci:v1.11 \ No newline at end of file diff --git a/.github/workflows/module_build.yml b/.github/workflows/module_build.yml deleted file mode 100644 index fa7239f..0000000 --- a/.github/workflows/module_build.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: build h3lpr - -# defines the default parameters to call that shit -on: - workflow_call: - inputs: - machine: - required: false - type: string - default: self-hosted - timeout: - required: false - type: number - default: 60 - docker_image: - required: true - type: string - -jobs: - #----------------------------------------------------------------------------- - murphy: - #........................................................................... - # build for the debug and non-debug mode - strategy: - matrix: - opts: [" ", "-DNDEBUG"] - # do NOT cancel any job of the matrix if one has fail - fail-fast: false - #........................................................................... - # standard parameters: any runner, 20 min and latest container - runs-on: ${{inputs.machine}} - timeout-minutes: ${{inputs.timeout}} - container: - image: ${{inputs.docker_image}} - #........................................................................... - # define the steps - steps: - #checkout the repo - - uses: actions/checkout@v2 - # do the build - - name: build - run: ARCH_FILE=make_arch/make.docker make -j12 OPTS="${{matrix.opts}}" \ No newline at end of file diff --git a/.github/workflows/module_build_test.yml b/.github/workflows/module_build_test.yml deleted file mode 100644 index d7c9012..0000000 --- a/.github/workflows/module_build_test.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: build h3lpr test - -# defines the default parameters to call that shit -on: - workflow_call: - inputs: - machine: - required: false - type: string - default: self-hosted - timeout: - required: false - type: number - default: 60 - docker_image: - required: true - type: string - -jobs: - #----------------------------------------------------------------------------- - test: - #........................................................................... - # build for the debug and non-debug mode - strategy: - matrix: - opts: [" ", "-DNDEBUG"] - # do NOT cancel any job of the matrix if one has fail - fail-fast: false - #........................................................................... - # standard parameters: any runner, 20 min and latest container - runs-on: ${{inputs.machine}} - timeout-minutes: ${{inputs.timeout}} - container: - image: ${{inputs.docker_image}} - #........................................................................... - # define the steps - steps: - #checkout the repo - - uses: actions/checkout@v2 - # do the build - - name: build - run: ARCH_FILE=make_arch/make.docker make test -j12 OPTS="${{matrix.opts}}" \ No newline at end of file diff --git a/.github/workflows/module_validation.yml b/.github/workflows/module_validation.yml deleted file mode 100644 index 981951d..0000000 --- a/.github/workflows/module_validation.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: validation - -# defines the default parameters to call that shit -on: - workflow_call: - inputs: - machine: - required: false - type: string - default: self-hosted - timeout: - required: false - type: number - default: 240 - docker_image: - required: true - type: string - - -jobs: - test: - #........................................................................... - # standard parameters: any runner, 20 min and latest container - runs-on: ${{ inputs.machine }} - timeout-minutes: ${{ inputs.timeout }} - container: - image: ${{ inputs.docker_image }} - #........................................................................... - steps: - #checkout the repo - - uses: actions/checkout@v2 - - name: build - run: ARCH_FILE=make_arch/make.docker_test make test -j 4 - # run the tests - - name: run - run: OMPI_MCA_btl_vader_single_copy_mechanism=none OMP_NUM_THREADS=1 mpirun --allow-run-as-root -n 7 ./h3lpr_test - diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml deleted file mode 100644 index 8eafc26..0000000 --- a/.github/workflows/pull_request.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: pull request - -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review, review_requested] - -jobs: - build-h3lpr: - if: ${{ !github.event.pull_request.draft }} - uses: ./.github/workflows/module_build_test.yml - with: - docker_image: vanreeslab/murphy_ci:v1.11 - - # if the normal builds have been successful we can try to build the tests - validation: - if: ${{ !github.event.pull_request.draft }} - needs: [build-h3lpr] - uses: ./.github/workflows/module_validation.yml - with: - docker_image: vanreeslab/murphy_ci:v1.11 diff --git a/.github/workflows/remove_artifacts.yml b/.github/workflows/remove_artifacts.yml deleted file mode 100644 index e5ece2a..0000000 --- a/.github/workflows/remove_artifacts.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Remove old artifacts - -on: - schedule: - # Every day at 1am - - cron: '0 1 * * *' - - -jobs: - remove-old-artifacts: - runs-on: beast-tower - timeout-minutes: 20 - steps: - - name: Remove old artifacts - uses: c-hive/gha-remove-artifacts@v1 - with: - age: '1 day' - # Optional inputs - # skip-tags: true - # skip-recent: 5