Skip to content

Commit fdb3ea4

Browse files
committed
ci: Add automatic running for Amazon Linux 2023
1 parent c7834e2 commit fdb3ea4

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Wrapper CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
wrapper_ci:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
fail-fast: false #We want to know if a wrapper fails on one OS or all of them
11+
matrix:
12+
include:
13+
- {container: ci/amazonlinux.yml, name: Amazon Linux}
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: apt update && apt install -y podman && pip install container-sucks
17+
- name: Setup ${{ matrix.name }}
18+
run: sucks ${{ matrix.container }} setup -v $PWD:/opt/pyperf-wrapper:z
19+
- name: Run test
20+
run: sucks ${{ matrix.container }} ci

ci/amazonlinux.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Amazon Linux 2023
2+
image: quay.io/zathras/amazon-init:latest
3+
initSteps:
4+
- dnf install -y git jq util-linux hostname which tar
5+
ciSteps:
6+
- /opt/pyperf-wrapper/pyperf/pyperf_run --pyperf_benchmarks 2to3,dask,dulwich_log

0 commit comments

Comments
 (0)