This repository was archived by the owner on Apr 14, 2026. It is now read-only.
update sfml and todo #6
Workflow file for this run
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 & Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build in Arch Linux container | |
| run: | | |
| docker run --rm \ | |
| -v ${{ github.workspace }}:/project \ | |
| -w /project \ | |
| archlinux:latest \ | |
| bash -c "pacman -Syu --noconfirm && pacman -S --noconfirm cmake clang sfml libpcap curl ninja && cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -GNinja && ninja -C build" | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: build/NetPulseMonitor | |
| name: NetPulse Monitor ${{ github.ref_name }} | |
| body: | | |
| ## NetPulse Monitor ${{ github.ref_name }} | |
| Built on Arch Linux (latest) with clang. | |
| **Run:** | |
| ```bash | |
| chmod +x NetPulseMonitor | |
| xhost +local: && sudo -E ./NetPulseMonitor | |
| ``` | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |