-
Notifications
You must be signed in to change notification settings - Fork 103
43 lines (37 loc) · 1013 Bytes
/
rust-to.yml
File metadata and controls
43 lines (37 loc) · 1013 Bytes
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
name: Linux - to feature
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ci-linux-to-tests-${{ github.ref }}-1
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
# Skip CI for MCP-only commits (commit message contains "(mcp):")
if: |
github.event_name != 'push' ||
!contains(github.event.head_commit.message, '(mcp):')
runs-on: ubuntu-latest
steps:
- name: apt-get update Ubuntu, libwayland-dev
run: |
sudo apt-get update
sudo apt-get install libwayland-dev
- uses: actions/checkout@v6
- name: Installing Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Setup Rust-cache
uses: Swatinem/rust-cache@v2
with:
key: qsvto-cache
- name: Run tests
# env:
# RUSTFLAGS: -C target-cpu=native
run: cargo test --verbose --locked --features=to,feature_capable