Skip to content

Commit b37d900

Browse files
committed
Added tests and updated docs
1 parent 8d33ff0 commit b37d900

File tree

5 files changed

+37
-17
lines changed

5 files changed

+37
-17
lines changed

Diff for: .github/workflows/build_linux.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ jobs:
5353
run: |
5454
cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --target install
5555
if: steps.cache-install.outputs.cache-hit != 'true'
56-
57-
- name: Test
58-
run: |
59-
export GST_PLUGIN_PATH="${{ github.workspace }}/install"
60-
gst-inspect-1.0 --plugin projectm
6156

6257
- name: Upload Artifact
6358
uses: actions/upload-artifact@v4
@@ -77,7 +72,7 @@ jobs:
7772
- name: Wait for ProjectM
7873
uses: yogeshlonkar/wait-for-jobs@v0
7974
with:
80-
interval: '15000'
75+
interval: '5000'
8176
jobs: Build ProjectM
8277
ttl: '15'
8378

@@ -95,8 +90,14 @@ jobs:
9590
run: cmake -G "Ninja" -S "${{ github.workspace }}" -B "${{ github.workspace }}/cmake-build" -DCMAKE_VERBOSE_MAKEFILE=YES -DprojectM4_DIR="artifacts/lib/cmake/projectM4"
9691

9792
- name: Build Release
93+
id: build
9894
run: cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --parallel
9995

96+
- name: Test
97+
run: |
98+
GST_PLUGIN_PATH="${{ github.workspace }}/cmake-build" gst-inspect-1.0 projectm
99+
if: steps.build.outputs.return-code == 0
100+
100101
- name: Upload Artifact
101102
uses: actions/upload-artifact@v4
102103
with:

Diff for: .github/workflows/build_osx.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Wait for ProjectM
7474
uses: yogeshlonkar/wait-for-jobs@v0
7575
with:
76-
interval: '15000'
76+
interval: '5000'
7777
jobs: Build ProjectM
7878
ttl: '15'
7979

@@ -91,8 +91,14 @@ jobs:
9191
run: cmake -G "Ninja" -S "${{ github.workspace }}" -B "${{ github.workspace }}/cmake-build" -DCMAKE_VERBOSE_MAKEFILE=YES -DprojectM4_DIR="artifacts/lib/cmake/projectM4"
9292

9393
- name: Build Release
94+
id: build
9495
run: cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --parallel
9596

97+
- name: Test
98+
run: |
99+
GST_PLUGIN_PATH="${{ github.workspace }}/cmake-build" gst-inspect-1.0 projectm
100+
if: steps.build.outputs.return-code == 0
101+
96102
- name: Upload Artifact
97103
uses: actions/upload-artifact@v4
98104
with:

Diff for: .github/workflows/build_windows.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Wait for ProjectM
7979
uses: yogeshlonkar/wait-for-jobs@v0
8080
with:
81-
interval: '15000'
81+
interval: '5000'
8282
jobs: Build ProjectM
8383
ttl: '15'
8484

@@ -99,8 +99,21 @@ jobs:
9999
run: cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}" -B "${{ github.workspace }}/cmake-build" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>" -DCMAKE_VERBOSE_MAKEFILE=YES -DprojectM4_DIR="artifacts/lib/cmake/projectM4"
100100

101101
- name: Build Release
102+
id: build
102103
run: cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --parallel
103104

105+
# - name: Install Chocolatey
106+
# uses: crazy-max/ghaction-chocolatey@v3
107+
# with:
108+
# args: install gstreamer --no-progress
109+
# if: steps.build.outputs.return-code == 0
110+
111+
# - name: Test
112+
# run: |
113+
# set GST_PLUGIN_PATH="${{ github.workspace }}/cmake-build/Release"
114+
# gst-inspect-1.0 projectm
115+
# if: steps.build.outputs.return-code == 0
116+
104117
- name: Upload Artifact
105118
uses: actions/upload-artifact@v4
106119
with:

Diff for: docs/BOUNTY.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Implement a cross-platform GStreamer plug-in for libprojectM
2222
- [x] Windows
2323
- Working with GStreamer
2424
- [x] Linux
25-
- [ ] OSX
25+
- [x] OSX
2626
- [ ] Windows (see issues)
2727
- [x] Accepting an audio/x-raw stream (coded to add more formats later, if needed)
2828
- [x] Generating a video/x-raw stream (coded to add more formats later, if needed)
@@ -43,15 +43,15 @@ Implement a cross-platform GStreamer plug-in for libprojectM
4343

4444
## Issues
4545

46-
- **ALL** - GL issue.
46+
- **ALL** - GL issue. `gst_gl_context_activate(context, true) fails`
4747
- **Windows**: ***BROKEN*** - After days of testing, I've yet to find a solution to GStreamers linking problem when using plugins.
4848
- Wont run with inspect/launch. DLL dependency issue
4949

5050
## Contributions
5151

52-
- [Discord: tristancmoi](https://github.com/hashFactory)
53-
- Provided a semi-working example of a GStreamer plugin utilizing the ProjectM library
54-
- I built off this knowledge and thank you for your contribution
55-
- [Discord: CodAv](https://github.com/kblaschke)
56-
- Helped with knowledge of C#
57-
- Helped trace OSX issues to GStreamer source
52+
- [Discord: tristancmoi](https://github.com/hashFactory) [**AWARD: 20%**]
53+
- Provided a semi-working example of a GStreamer plugin utilizing the ProjectM library, on Linux
54+
- [Discord: CodAv](https://github.com/kblaschke) [**AWARD: 20%**]
55+
- Provided knowledge of C#, and GL
56+
- Traced OSX issues
57+
- Traced GL issues

Diff for: setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ prompt_install_dependencies() {
9595
# Install packages based on the selected package manager
9696
case $SELECTED_PACKAGE_MANAGER in
9797
apt)
98-
PACKAGE_LIST=("git" "cmake" "ninja-build" "pkg-config" "build-essential" "libgl1-mesa-dev" "mesa-common-dev" "libgstreamer1.0-dev" "libgstreamer-gl1.0-0" "libgstreamer-plugins-base1.0-dev" "gstreamer1.0-libav" "libunwind-dev")
98+
PACKAGE_LIST=("git" "cmake" "ninja-build" "pkg-config" "build-essential" "libgl1-mesa-dev" "mesa-common-dev" "libgstreamer1.0-dev" "libgstreamer-gl1.0-0" "libgstreamer-plugins-base1.0-dev" "gstreamer1.0-tools" "gstreamer1.0-libav" "libunwind-dev")
9999
install_packages $AUTO "$SELECTED_PACKAGE_MANAGER" PACKAGE_LIST[@]
100100
;;
101101
pacman)

0 commit comments

Comments
 (0)