-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
336 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Python 3.10 | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
# Dependencies for installation | ||
sudo apt-get install gettext | ||
# Dependencies for execution | ||
sudo apt-get install gir1.2-gtk-3.0 gobject-introspection libcairo2-dev libgirepository1.0-dev python3-gi | ||
- name: Install Python packages | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m venv venv | ||
. venv/bin/activate | ||
pip install -r requirements_ci.txt | ||
- name: Compile | ||
run: | | ||
python -m compileall gwakeonlan gwakeonlan.py setup.py | ||
- name: Lint with flake8 | ||
run: | | ||
. venv/bin/activate | ||
python -m flake8 gwakeonlan gwakeonlan.py setup.py | ||
- name: Install | ||
run: | | ||
. venv/bin/activate | ||
python setup.py install --optimize=1 --root=build | ||
- name: Show results | ||
run: | | ||
ls -laR . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Python 3.10 | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
# Dependencies for installation | ||
sudo apt-get install gettext | ||
# Dependencies for execution | ||
sudo apt-get install gir1.2-gtk-3.0 gobject-introspection libcairo2-dev libgirepository1.0-dev python3-gi | ||
- name: Install Python packages | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m venv venv | ||
. venv/bin/activate | ||
pip install -r requirements_ci.txt | ||
- name: Compile | ||
run: | | ||
python -m compileall gwakeonlan gwakeonlan.py setup.py | ||
- name: Lint with flake8 | ||
run: | | ||
. venv/bin/activate | ||
python -m flake8 gwakeonlan gwakeonlan.py setup.py | ||
- name: Install | ||
run: | | ||
. venv/bin/activate | ||
python setup.py install --optimize=1 --root=build | ||
- name: Show results | ||
run: | | ||
ls -laR . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Python 3.10 | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.6" | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
# Dependencies for installation | ||
sudo apt-get install gettext | ||
# Dependencies for execution | ||
sudo apt-get install gir1.2-gtk-3.0 gobject-introspection libcairo2-dev libgirepository1.0-dev python3-gi | ||
- name: Install Python packages | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m venv venv | ||
. venv/bin/activate | ||
pip install -r requirements_ci.txt | ||
- name: Compile | ||
run: | | ||
python -m compileall gwakeonlan gwakeonlan.py setup.py | ||
- name: Lint with flake8 | ||
run: | | ||
. venv/bin/activate | ||
python -m flake8 gwakeonlan gwakeonlan.py setup.py | ||
- name: Install | ||
run: | | ||
. venv/bin/activate | ||
python setup.py install --optimize=1 --root=build | ||
- name: Show results | ||
run: | | ||
ls -laR . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Python 3.10 | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.7" | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
# Dependencies for installation | ||
sudo apt-get install gettext | ||
# Dependencies for execution | ||
sudo apt-get install gir1.2-gtk-3.0 gobject-introspection libcairo2-dev libgirepository1.0-dev python3-gi | ||
- name: Install Python packages | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m venv venv | ||
. venv/bin/activate | ||
pip install -r requirements_ci.txt | ||
- name: Compile | ||
run: | | ||
python -m compileall gwakeonlan gwakeonlan.py setup.py | ||
- name: Lint with flake8 | ||
run: | | ||
. venv/bin/activate | ||
python -m flake8 gwakeonlan gwakeonlan.py setup.py | ||
- name: Install | ||
run: | | ||
. venv/bin/activate | ||
python setup.py install --optimize=1 --root=build | ||
- name: Show results | ||
run: | | ||
ls -laR . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Python 3.10 | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.8" | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
# Dependencies for installation | ||
sudo apt-get install gettext | ||
# Dependencies for execution | ||
sudo apt-get install gir1.2-gtk-3.0 gobject-introspection libcairo2-dev libgirepository1.0-dev python3-gi | ||
- name: Install Python packages | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m venv venv | ||
. venv/bin/activate | ||
pip install -r requirements_ci.txt | ||
- name: Compile | ||
run: | | ||
python -m compileall gwakeonlan gwakeonlan.py setup.py | ||
- name: Lint with flake8 | ||
run: | | ||
. venv/bin/activate | ||
python -m flake8 gwakeonlan gwakeonlan.py setup.py | ||
- name: Install | ||
run: | | ||
. venv/bin/activate | ||
python setup.py install --optimize=1 --root=build | ||
- name: Show results | ||
run: | | ||
ls -laR . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Python 3.10 | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9" | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
# Dependencies for installation | ||
sudo apt-get install gettext | ||
# Dependencies for execution | ||
sudo apt-get install gir1.2-gtk-3.0 gobject-introspection libcairo2-dev libgirepository1.0-dev python3-gi | ||
- name: Install Python packages | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m venv venv | ||
. venv/bin/activate | ||
pip install -r requirements_ci.txt | ||
- name: Compile | ||
run: | | ||
python -m compileall gwakeonlan gwakeonlan.py setup.py | ||
- name: Lint with flake8 | ||
run: | | ||
. venv/bin/activate | ||
python -m flake8 gwakeonlan gwakeonlan.py setup.py | ||
- name: Install | ||
run: | | ||
. venv/bin/activate | ||
python setup.py install --optimize=1 --root=build | ||
- name: Show results | ||
run: | | ||
ls -laR . |