-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (29 loc) · 1.12 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CI
on: [push]
jobs:
CI:
runs-on: ubuntu-22.04 # latest at time of writing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9' # default version on Amazon Linux 2023
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17' # default version on Amazon Linux 2023
- name: Install requirements
run: python -m pip install -r scripts/requirements.txt
- name: Lint Python scripts
run: python scripts/lint-python.py
- name: Lint s3-benchrunner-c
run: python runners/s3-benchrunner-c/scripts/lint.py
- name: Check that benchmark.run.json files are up to date
# build benchmarks and see if any files change
run: |
python scripts/build-benchmarks.py
git diff --exit-code
- name: Build s3-benchrunner-c
run: python runners/s3-benchrunner-c/scripts/build.py --build-dir ${{runner.temp}}/build/c
- name: Build s3-benchrunner-crt-java
run: python runners/s3-benchrunner-crt-java/scripts/build.py --build-dir ${{runner.temp}}/build/crt-java