Build WineCap #6
This file contains hidden or 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
| name: Build WineCap | |
| on: workflow_dispatch | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo dpkg --add-architecture i386 | |
| sudo mkdir -pm755 /etc/apt/keyrings && sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | |
| sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources | |
| sudo apt-get update | |
| sudo apt-get install -y libpipewire-0.3-dev libglib2.0-dev gcc g++ make | |
| sudo apt-get install -y --install-recommends wine-devel-dev winehq-devel | |
| - name: Build | |
| working-directory: ./WineCap | |
| run: make all | |
| - name: Upload Build Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: WineCap.dll | |
| path: ./WineCap/WineCap.dll | |
| overwrite: true |