-
Notifications
You must be signed in to change notification settings - Fork 11
52 lines (38 loc) · 1.07 KB
/
opus.yml
File metadata and controls
52 lines (38 loc) · 1.07 KB
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
44
45
46
47
48
49
50
51
52
name: opus
on: [push, pull_request]
jobs:
linux-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install libopus
run: |
sudo apt-get install libopus-dev
- name: Run tests
run: |
cargo test --workspace --all-targets --all-features
cargo test --workspace --all-targets --no-default-features
windows-tests-gnu:
runs-on: windows-latest
env:
MSYSTEM: MINGW64
MSYS2_PATH_TYPE: inherit
steps:
- uses: actions/checkout@v3
- name: Install Rust Windows gnu
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable-x86_64-pc-windows-gnu
override: true
- name: Install msys2 packages
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
install: mingw-w64-x86_64-pkgconf mingw-w64-x86_64-opus
update: true
- name: Run tests
shell: msys2 {0}
run: |
cargo test --workspace --all-targets --all-features
cargo test --workspace --all-targets --no-default-features