mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-09-30 02:48:11 +03:00
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
name: Build Furious
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build on ${{ matrix.os }} Python ${{ matrix.python-version }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-2019, windows-2022, macos-11, macos-12, macos-13]
|
|
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: "1.20.0"
|
|
- run: go version
|
|
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- run: python --version
|
|
|
|
- name: Upgrade pip
|
|
run: python -m pip install --upgrade pip
|
|
|
|
- name: Install dependencies
|
|
run: python -m pip install wheel PySide6==6.5.3
|
|
|
|
- name: Install go 1.20 dependencies
|
|
run: python -m pip install Xray-core==1.8.4.1 hysteria2==2.0.0.1
|
|
|
|
- name: Install requirements.txt
|
|
run: python -m pip install -r requirements.txt
|
|
|
|
- name: Generate source distribution
|
|
run: python setup.py sdist
|
|
|
|
- name: Generate wheel distribution
|
|
run: python setup.py bdist_wheel
|
|
|
|
- name: Install from source
|
|
run: python setup.py install
|