Specify compatible mdbook version in setup script #1547
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
- run: | | |
sed -i'' -e 's/[email protected]:/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/[email protected] | |
- run: | | |
sed -i'' -e 's/[email protected]:/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" |