-
Notifications
You must be signed in to change notification settings - Fork 17
51 lines (49 loc) · 1.48 KB
/
skylake4x-tests.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
on: [push]
defaults:
run:
shell: bash
name: Integration tests (skylake4x)
jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
concurrent_skipping: 'never'
skip_after_successful_duplicate: 'true'
paths_ignore: '["**/README.md", "**/doc/**"]'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
test-skylake4x:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
runs-on: [self-hosted, skylake4x]
steps:
- uses: actions/checkout@v3.0.2
- run: |
sed -i'' -e 's/git@github.com:/https:\/\/github.com\//' .gitmodules
git submodule update --init
rustup show
- name: Integration tests (qemu/kvm)
run: |
bash setup.sh
cd kernel
RUST_TEST_THREADS=1 cargo test --features smoke
bench-skylake4x:
needs: [pre_job, test-skylake4x]
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
runs-on: [self-hosted, skylake4x]
steps:
- uses: actions/checkout@v3.0.2
- run: |
sed -i'' -e 's/git@github.com:/https:\/\/github.com\//' .gitmodules
git submodule update --init
rustup show
- name: Run Benchmarks
run: |
bash setup.sh
bash scripts/ci.bash
env:
CI_MACHINE_TYPE: "skylake4x"