Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make backend testing more granular in CI #1412

Merged
merged 2 commits into from
Apr 14, 2021
Merged
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
110 changes: 105 additions & 5 deletions .github/workflows/conrod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
command: fmt
args: --all -- --check

cargo-test:
cargo-test-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -36,14 +36,14 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --lib --bins --verbose
args: -p conrod_core --verbose
- name: Test docs
uses: actions-rs/cargo@v1
with:
command: test
args: --doc --verbose
args: -p conrod_core --doc --verbose

cargo-check-examples:
cargo-check-gfx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -61,7 +61,107 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
args: --examples --verbose
args: -p conrod_gfx --examples --verbose

cargo-check-glium:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update
- name: Install libxcb dev tools
run: sudo apt-get install libxcb-composite0-dev
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run check
uses: actions-rs/cargo@v1
with:
command: check
args: -p conrod_glium --examples --verbose

cargo-check-piston:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update
- name: Install libxcb dev tools
run: sudo apt-get install libxcb-composite0-dev
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run check
uses: actions-rs/cargo@v1
with:
command: check
args: -p conrod_piston --examples --verbose

cargo-check-rendy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update
- name: Install libxcb dev tools
run: sudo apt-get install libxcb-composite0-dev
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run check
uses: actions-rs/cargo@v1
with:
command: check
args: -p conrod_rendy --examples --verbose

cargo-check-vulkano:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update
- name: Install libxcb dev tools
run: sudo apt-get install libxcb-composite0-dev
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run check
uses: actions-rs/cargo@v1
with:
command: check
args: -p conrod_vulkano --examples --verbose

cargo-check-wgpu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update
- name: Install libxcb dev tools
run: sudo apt-get install libxcb-composite0-dev
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run check
uses: actions-rs/cargo@v1
with:
command: check
args: -p conrod_wgpu --examples --verbose

cargo-publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
Expand Down