fork/rust-obs-plugins

git clone https://git.julia.blue/fork/rust-obs-plugins

Bennett HardwickRe enable Windows pipelines5993853

master
1.6 KiB61 linesraw
1name: Build OBS Plugins
2
3on:
4  push:
5    branches:
6      - master
7
8env:
9  DONT_USE_GENERATED_BINDINGS: "true"
10
11jobs:
12  build_linux:
13    runs-on: ubuntu-latest
14    steps:
15      - uses: actions/checkout@v2
16        with:
17          submodules: true
18      - uses: actions/cache@v1
19        with:
20          path: ${{ github.workspace }}/target
21          key: ubuntu-rust-target-directory
22      - run: |
23          sudo add-apt-repository ppa:obsproject/obs-studio
24          sudo apt-get update
25          sudo apt-get install obs-studio libxcb-randr0-dev libxcb-ewmh-dev
26      - uses: actions-rs/toolchain@v1
27        with:
28          toolchain: stable
29      - run: |
30          cargo build --verbose --workspace
31          cargo test --workspace
32
33  build_windows:
34    runs-on: windows-latest
35    steps:
36      - uses: actions/checkout@v2
37        with:
38          submodules: true
39      - uses: actions/cache@v1
40        with:
41          path: ${{ github.workspace }}/target
42          key: windows-rust-target-directory
43      - run: |
44          choco install obs-studio llvm
45          cargo build --verbose --workspace --exclude scroll-focus-filter
46          cargo test --workspace --exclude scroll-focus-filter
47
48  # build_macos:
49  #   runs-on: macos-latest
50  #   steps:
51  #     - uses: actions/checkout@v2
52  #       with:
53  #         submodules: true
54  #     - uses: actions/cache@v1
55  #       with:
56  #         path: ${{ github.workspace }}/target
57  #         key: macos-rust-target-directory
58  #     - run: |
59  #         brew cask install obs
60  #         cargo build --verbose --workspace --exclude scroll-focus-filter
61  #         cargo test --workspace --exclude scroll-focus-filter