Formatting fix for console view #26
This file contains 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: C/C++ CI | |
on: [push, pull_request] | |
jobs: | |
Linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: | |
pip3 install mappersession | |
&& pip3 install netifaces | |
&& pip3 install pyinstaller | |
- name: build standalone | |
run: | |
pyinstaller webmapper.spec | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: webmapper-ubuntu-standalone | |
path: dist/webmapper | |
MacOS-Latest: | |
runs-on: macOS-latest | |
env: | |
CC: clang | |
CXX: clang++ | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: | |
pip3 install mappersession | |
&& pip3 install netifaces | |
&& pip3 install pyinstaller | |
- name: build standalone | |
run: | |
pyinstaller webmapper.spec | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: webmapper-macosx-standalone | |
path: dist/webmapper | |
MacOS-11: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: | |
pip3 install mappersession | |
&& pip3 install netifaces | |
&& pip3 install pyinstaller | |
- name: build standalone | |
run: | |
pyinstaller webmapper.spec | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: webmapper-macosx-10-standalone | |
path: dist/webmapper | |
Windows-Latest: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: | |
pip3 install mappersession | |
&& pip3 install netifaces | |
&& pip3 install pyinstaller | |
- name: build standalone | |
run: | |
pyinstaller webmapper.spec | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: webmapper-win64-standalone | |
path: dist/webmapper |