From df2587dfcc93d6b33f1cfd4bc03b3b4bd42233c5 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Fri, 13 Dec 2024 10:40:35 +0100 Subject: [PATCH 1/5] Add dummy metis_parameters.yaml --- metisp/workflows/metis/metis_parameters.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 metisp/workflows/metis/metis_parameters.yaml diff --git a/metisp/workflows/metis/metis_parameters.yaml b/metisp/workflows/metis/metis_parameters.yaml new file mode 100644 index 0000000..e69de29 From 94bb7057a0a6c538cd19c2bca468db5054519202 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Fri, 13 Dec 2024 11:56:30 +0100 Subject: [PATCH 2/5] Add something to metis_parameters.yaml --- metisp/workflows/metis/metis_parameters.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metisp/workflows/metis/metis_parameters.yaml b/metisp/workflows/metis/metis_parameters.yaml index e69de29..c865cbd 100644 --- a/metisp/workflows/metis/metis_parameters.yaml +++ b/metisp/workflows/metis/metis_parameters.yaml @@ -0,0 +1,2 @@ +default_parameters: + is_default: yes From 504e45f2e434945e15904b186f10ee5d7dac55d3 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Fri, 13 Dec 2024 12:03:00 +0100 Subject: [PATCH 3/5] Test whether pipeline can be installed through autotools --- .github/workflows/install_autotools.yaml | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/install_autotools.yaml diff --git a/.github/workflows/install_autotools.yaml b/.github/workflows/install_autotools.yaml new file mode 100644 index 0000000..98d555f --- /dev/null +++ b/.github/workflows/install_autotools.yaml @@ -0,0 +1,37 @@ +name: Install METIS_Pipeline through autotools + +on: + push: + branches: + - main + pull_request: + branches: + - main + schedule: + # Run every day at 2:00 UTC + - cron: "0 2 * * *" + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + run: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: | + sudo ./toolbox/install_dependencies_ubuntu.sh + - name: Run autotools + run: | + cd metisp + ./bootstrap + ./configure + make + make python + make install + make install-python + - name: Check recipes + # TODO: Actually check something here. + run: | + esorex --recipes From de971a5b8ee3daee0045262104ebba8e30ae1355 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Fri, 13 Dec 2024 12:43:33 +0100 Subject: [PATCH 4/5] Sudo make me a sandwich --- .github/workflows/install_autotools.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/install_autotools.yaml b/.github/workflows/install_autotools.yaml index 98d555f..3a499dd 100644 --- a/.github/workflows/install_autotools.yaml +++ b/.github/workflows/install_autotools.yaml @@ -29,8 +29,8 @@ jobs: ./configure make make python - make install - make install-python + sudo make install + sudo make install-python - name: Check recipes # TODO: Actually check something here. run: | From c409a161380cb13e492cfaa3a2fd6a90aa3dd75a Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Fri, 13 Dec 2024 12:55:18 +0100 Subject: [PATCH 5/5] Disable the testing --- .github/workflows/install_autotools.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/install_autotools.yaml b/.github/workflows/install_autotools.yaml index 3a499dd..efce1ee 100644 --- a/.github/workflows/install_autotools.yaml +++ b/.github/workflows/install_autotools.yaml @@ -31,7 +31,7 @@ jobs: make python sudo make install sudo make install-python - - name: Check recipes + #- name: Check recipes # TODO: Actually check something here. - run: | - esorex --recipes + # run: | + # pyesorex --recipes