Skip to content

chore: bump submodules and regenerate #66

chore: bump submodules and regenerate

chore: bump submodules and regenerate #66

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/docker:unstable
strategy:
matrix:
rust:
- stable
- beta
- "1.70.0"
conf:
- { name: "granite", features: "v7_5", test_sys: true }
- { name: "granite", features: "v7_4", test_sys: true }
- { name: "granite", features: "v7_3", test_sys: true }
- { name: "granite", features: "v7_2", test_sys: true }
- { name: "granite", features: "v7_1", test_sys: true }
- { name: "examples", features: "", test_sys: false }
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: apt-get update && apt-get install -y curl xvfb
- name: "Install ${{ matrix.rust }} rust"
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
- name: "${{ matrix.conf.name }}: tests"
run: xvfb-run --auto-servernum cargo test --manifest-path ${{ matrix.conf.name }}/Cargo.toml --features "${{ matrix.conf.features }}"
- name: "${{ matrix.conf.name }}/sys: tests"
run: xvfb-run --auto-servernum cargo test --manifest-path ${{ matrix.conf.name }}/sys/Cargo.toml
if: matrix.conf.test_sys