1818 - ' **.md'
1919 - ' **.txt'
2020 workflow_dispatch :
21- schedule : [cron: "0 1 */7 * *"]
21+ schedule :
22+ - cron : " 0 1 1 * *"
2223
2324env :
2425 CARGO_TERM_COLOR : always
5556 - name : Install cargo-hack
5657 run : cargo install cargo-hack
5758 - name : Apply clippy lints
58- run : cargo hack clippy --each-feature --exclude-no-default-features
59+ run : cargo hack clippy --each-feature
5960
6061 # Run tests on some extra platforms
6162 cross :
9798 run : |
9899 rustup target add ${{ matrix.target }}
99100 cargo build --target ${{ matrix.target }}
101+ working-directory : videoframe
100102
101103 build :
102104 name : build
@@ -125,7 +127,7 @@ jobs:
125127 - name : Install cargo-hack
126128 run : cargo install cargo-hack
127129 - name : Run build
128- run : cargo hack build --feature-powerset --exclude-no-default-features
130+ run : cargo hack build --each-feature
129131
130132 test :
131133 name : test
@@ -154,7 +156,7 @@ jobs:
154156 - name : Install cargo-hack
155157 run : cargo install cargo-hack
156158 - name : Run test
157- run : cargo hack test --feature-powerset --exclude-no-default-features --exclude-features loom
159+ run : cargo hack test --each-feature
158160
159161 sanitizer :
160162 name : sanitizer
@@ -250,61 +252,6 @@ jobs:
250252 run : |
251253 bash ci/miri_sb.sh "${{ matrix.target }}"
252254
253- loom :
254- name : loom
255- strategy :
256- matrix :
257- os :
258- - ubuntu-latest
259- - macos-latest
260- - windows-latest
261- runs-on : ${{ matrix.os }}
262- steps :
263- - uses : actions/checkout@v6
264- - name : Cache cargo build and registry
265- uses : actions/cache@v5
266- with :
267- path : |
268- ~/.cargo/registry
269- ~/.cargo/git
270- target
271- key : ${{ runner.os }}-loom-${{ hashFiles('**/Cargo.lock') }}
272- restore-keys : |
273- ${{ runner.os }}-loom-
274- - name : Install Rust
275- run : rustup update nightly --no-self-update && rustup default nightly
276- - name : Loom tests
277- run : cargo test --tests --features loom
278-
279- # valgrind:
280- # name: valgrind
281- # runs-on: ubuntu-latest
282- # steps:
283- # - uses: actions/checkout@v6
284- # - name: Cache cargo build and registry
285- # uses: actions/cache@v5
286- # with:
287- # path: |
288- # ~/.cargo/registry
289- # ~/.cargo/git
290- # target
291- # key: ubuntu-latest-valgrind-${{ hashFiles('**/Cargo.lock') }}
292- # restore-keys: |
293- # ubuntu-latest-valgrind-
294- # - name: Install Rust
295- # run: rustup update stable && rustup default stable
296- # - name: Install Valgrind
297- # run: |
298- # sudo apt-get update -y
299- # sudo apt-get install -y valgrind
300- # # Uncomment and customize when you have binaries to test:
301- # # - name: cargo build foo
302- # # run: cargo build --bin foo
303- # # working-directory: integration
304- # # - name: Run valgrind foo
305- # # run: valgrind --error-exitcode=1 --leak-check=full --show-leak-kinds=all ./target/debug/foo
306- # # working-directory: integration
307-
308255 coverage :
309256 name : coverage
310257 runs-on : ubuntu-latest
@@ -315,7 +262,6 @@ jobs:
315262 - cross
316263 - test
317264 - sanitizer
318- - loom
319265 steps :
320266 - uses : actions/checkout@v6
321267 - name : Install Rust
0 commit comments