File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 gtest :
11- runs-on : ubuntu-latest
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ os : [ubuntu-latest, macos-latest]
1215
1316 steps :
1417 - uses : actions/checkout@v4
1518 with :
1619 submodules : recursive
1720
18- - name : Install dependencies
21+ - name : Install dependencies (Linux)
22+ if : runner.os == 'Linux'
1923 run : |
2024 sudo apt-get update
2125 sudo apt-get install -y libgtest-dev
2226
27+ - name : Install dependencies (macOS)
28+ if : runner.os == 'macOS'
29+ run : brew install googletest
30+
2331 - name : Build tests
2432 run : make gtests
2533
Original file line number Diff line number Diff line change 88 <a href="https://github.com/gistrec/File-Broadcaster/releases">
99 <img src="https://img.shields.io/github/v/release/gistrec/File-Broadcaster" alt="Release"></a>
1010 <a>
11- <img src="https://img.shields.io/badge/platform-windows%20%7C%20linux-brightgreen" alt="Platform"></a>
11+ <img src="https://img.shields.io/badge/platform-windows%20%7C%20linux%20%7C%20macos -brightgreen" alt="Platform"></a>
1212 <a href="https://github.com/gistrec/File-Broadcaster/blob/master/LICENSE">
1313 <img src="https://img.shields.io/github/license/gistrec/File-Broadcaster?color=brightgreen" alt="License"></a>
1414</p >
@@ -31,7 +31,7 @@ UDP broadcast file transfer — sends a file to all computers in the same LAN si
3131- Unicast mode for point-to-point transfer
3232- Automatic retransmission of lost packets
3333- Configurable MTU and TTL
34- - Windows and Linux support
34+ - Windows, Linux, and macOS support
3535
3636## Quick Start
3737
@@ -55,13 +55,13 @@ To send to a specific IP instead of broadcasting to the whole LAN:
5555** Windows:**
5656- Visual Studio 2019 or later
5757
58- ** Linux:**
59- - g++ with C++14 support
58+ ** Linux / macOS :**
59+ - g++ or clang++ with C++14 support
6060- pthreads
6161
6262## Installation
6363
64- ** Linux:**
64+ ** Linux / macOS :**
6565```
6666git clone https://github.com/gistrec/File-Broadcaster.git
6767git submodule update --init --recursive
You can’t perform that action at this time.
0 commit comments