This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Get build working * Better message in build * Blocklist some wide types * Update llvm * Update stuff * Try again * Hmm * Gross * Add back obs submodule * Use local obs * Try llvm 16 * Use generated for clippy * Use newer version * Fix clippy * Give up * Try something else * Whiplash * Try enable Mac * Try some mac stuff * Oops * Update * ARGH * More framework stuff * Try again * Facepalm * Last time * :( * Last time? * Try something * Try verbatim * Try verbatim again * Shrug * Blah * Search for all * :( * try again * change back * remove frontend api * remove frontend api again * :( * update * :( * Do more * Last time?
- Loading branch information
1 parent
d481527
commit 2602fb3
Showing
6 changed files
with
136 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,6 @@ on: | |
branches: | ||
- master | ||
|
||
env: | ||
DONT_USE_GENERATED_BINDINGS: "true" | ||
|
||
jobs: | ||
cargo_fmt: | ||
runs-on: ubuntu-latest | ||
|
@@ -20,6 +17,8 @@ jobs: | |
submodules: true | ||
|
||
- uses: dtolnay/[email protected] | ||
with: | ||
components: rustfmt | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
|
@@ -33,13 +32,17 @@ jobs: | |
submodules: true | ||
|
||
- uses: dtolnay/[email protected] | ||
with: | ||
components: clippy | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
- run: cargo clippy --all --no-deps -- -D warnings | ||
|
||
build_linux: | ||
runs-on: ubuntu-latest | ||
env: | ||
DONT_USE_GENERATED_BINDINGS: "true" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -51,6 +54,7 @@ jobs: | |
|
||
- run: | | ||
sudo add-apt-repository ppa:obsproject/obs-studio | ||
sudo apt-get remove libclang1-15 | ||
sudo apt-get update | ||
sudo apt-get install obs-studio libxcb-randr0-dev libxcb-ewmh-dev | ||
|
@@ -60,6 +64,8 @@ jobs: | |
|
||
build_windows: | ||
runs-on: windows-latest | ||
env: | ||
DONT_USE_GENERATED_BINDINGS: "true" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -77,7 +83,9 @@ jobs: | |
|
||
build_macos: | ||
runs-on: macos-latest | ||
if: github.ref == 'refs/heads/master' | ||
env: | ||
DONT_USE_GENERATED_BINDINGS: "true" | ||
# if: github.ref == 'refs/heads/master' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -92,3 +100,9 @@ jobs: | |
- run: cargo build --verbose --workspace --exclude scroll-focus-filter | ||
|
||
- run: cargo test --workspace --exclude scroll-focus-filter | ||
env: | ||
# Set this so that the test pass! | ||
# Maybe you don't need to do this when running the plugin from OBS? I don't know. | ||
# If you own a Mac please do something better. | ||
DYLD_FALLBACK_FRAMEWORK_PATH: "/Applications/OBS.app/Contents/Frameworks" | ||
DYLD_FALLBACK_LIBRARY_PATH: "/Applications/OBS.app/Contents/Frameworks" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#include "obs/libobs/obs.h" | ||
#include "obs/UI/obs-frontend-api/obs-frontend-api.h" | ||
#include <obs-module.h> | ||
#include <obs-frontend-api.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters