Skip to content

Commit

Permalink
Update wheels github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
  • Loading branch information
LorenEteval committed Feb 7, 2024
1 parent fdc2d09 commit aaec82b
Showing 1 changed file with 5 additions and 43 deletions.
48 changes: 5 additions & 43 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12, macos-13]
os: [windows-2019, windows-2022, macos-11, macos-12, macos-13]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
Expand All @@ -27,11 +27,11 @@ jobs:
- name: Upgrade pip
run: python -m pip install --upgrade pip

- name: Install wheel
run: python -m pip install wheel
- name: Install dependencies
run: python -m pip install wheel PySide6==6.5.3

- name: Install go 1.20 hysteria2
run: python -m pip install hysteria2==2.0.0.1
- 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
Expand All @@ -44,41 +44,3 @@ jobs:

- name: Install from source
run: python setup.py install
compile:
name: Compile on ${{ matrix.os }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, 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 wheel
run: python -m pip install wheel

- name: Install nuitka
run: python -m pip install nuitka

- name: Install go 1.20 hysteria2
run: python -m pip install hysteria2==2.0.0.1

- name: Install requirements.txt
run: python -m pip install -r requirements.txt

- name: Compile to gui binaries
run: python -m nuitka --standalone --plugin-enable=pyside6 --disable-console --assume-yes-for-downloads --macos-create-app-bundle --include-package-data=Furious Furious/__main__.py --output-dir=guiBinaries

0 comments on commit aaec82b

Please sign in to comment.