set up iptables rules for power smash/virtual-on in the systemd .service #32
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: iwango_server build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: iwango_server | |
| runs-on: ubuntu-latest | |
| container: debian:11 | |
| steps: | |
| - name: Install dependencies | |
| run: | | |
| apt-get update | |
| apt-get -y install build-essential git libcurl4-gnutls-dev libasio-dev libicu-dev libsqlite3-dev cmake | |
| - name: Build libdcserver | |
| run: | | |
| cd .. | |
| git clone https://github.com/flyinghead/libdcserver | |
| cd libdcserver | |
| cmake -B build -DCMAKE_BUILD_TYPE=Release | |
| cmake --build build --config Release | |
| cmake --build build --config Release --target install | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: true | |
| - name: Build | |
| run: make | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts | |
| path: | | |
| iwango_server | |
| keycutter | |
| keycutter.cgi |