From b3cfdc2ec93d9eeab701560f8cc4d54ffac3a766 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Wed, 10 Sep 2025 09:08:18 -0500 Subject: [PATCH 1/2] basic CI workflow --- .github/runs-on.yml | 1 + .github/workflows/build.yml | 0 2 files changed, 1 insertion(+) create mode 100644 .github/runs-on.yml create mode 100644 .github/workflows/build.yml diff --git a/.github/runs-on.yml b/.github/runs-on.yml new file mode 100644 index 0000000..0d0b1c9 --- /dev/null +++ b/.github/runs-on.yml @@ -0,0 +1 @@ +_extends: .github diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e69de29 From 8e4d4570f236ffec54c3b4ed370f67dfc4594d19 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Wed, 10 Sep 2025 09:18:11 -0500 Subject: [PATCH 2/2] add basic CI definitions --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ vars.yml | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e69de29..5c7b49c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -0,0 +1,36 @@ +on: + push: + pull_request: + #branches: [ main ] # Trigger on pull requests targeting the 'main' branch + +jobs: + run_suite: + strategy: + fail-fast: false + matrix: + version: [8, 9, 10, 10-kitten] + arch: [x86_64, aarch64] + + runs-on: runs-on=${{github.run_id}}/family=*metal*/image=almalinux-${{ matrix.version }}-${{ matrix.arch }} + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install git-core + run: | + sudo dnf install git-core -y + + - name: Install python3.12 + run: | + sudo dnf install python3.12 -y + + - name: Create python3.12 venv + run: | + python3.12 -m venv venv + source venv/bin/activate + pip install ansible + + - name: Run test suite + run: | + sudo venv/bin/ansible-playbook -c local -i 127.0.0.1, automated.yml --tags=phoronix diff --git a/vars.yml b/vars.yml index f0b4f53..840d4b7 100644 --- a/vars.yml +++ b/vars.yml @@ -45,7 +45,7 @@ test_phoronix: - pts/stream folder: "{{ phoronix_folder|default('/root') }}" - need_space: "{{ phoronix_need_space|default(300) }}" + need_space: "{{ phoronix_need_space|default(10) }}" # LTP # Path to clone LTP project to SUT