Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Sep 10, 2024
1 parent 79b1f9c commit 2822c7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cpp-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ jobs:
- name: pkg
shell: cmd
run: |
choco install --no-progress -y windows-sdk-11-version-22h2-all
choco install --ignorepackagecodes --no-progress -y visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.VC.ATLMFC --includeRecommended --nocache --installPath %MSVC_PATH%"
choco install --ignorepackagecodes --no-progress -y visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.VC.ATLMFC --includeRecommended --nocache --installPath %MSVC_PATH%"
git config --global core.autocrlf false
git config --global core.filemode false
env:
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community"
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\Community"

- name: depot_tools
shell: bash
Expand Down Expand Up @@ -50,7 +49,7 @@ jobs:
cmake -G Ninja -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} -DCMAKE_MAKE_PROGRAM=ninja.bat -DDETECT_OPENSSL=OFF .
ninja
env:
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community"
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\Community"
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
CLANG_VERSION: ToT
PYTHONIOENCODING: UTF-8
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ RUN git config --global core.autocrlf false \
&& ninja \
&& mkdir c:\app && copy webrtc-streamer.exe c:\app && copy config.json c:\app && xcopy /E html c:\app\html\ \
&& del /f /s /q c:\webrtc > nul && rmdir /s /q c:\webrtc \
&& time /t
&& time /t \
&& webrtc-streamer.exe -V

# run
FROM mcr.microsoft.com/windows/server:ltsc2022

WORKDIR /app
COPY --from=builder /app/ /app/

RUN webrtc-streamer.exe -V
RUN ls -l && webrtc-streamer.exe -V

ENTRYPOINT [ "webrtc-streamer.exe" ]
CMD [ "-a", "-C", "config.json" ]

0 comments on commit 2822c7c

Please sign in to comment.