Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/runs-on.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_extends: .github
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down