From 1850a8491f2663ebf8b7c4ddb4361ff31338d4a5 Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 28 Oct 2021 10:22:36 +0200 Subject: [PATCH] .github: Build macOS binary and enable optimisations --- .github/workflows/python.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 855d5f5..aec9546 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: ['ubuntu-20.04', 'windows-latest'] + os: ['ubuntu-20.04', 'windows-latest', 'macos-latest'] fail-fast: true max-parallel: 3 @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: '3.8' + python-version: '3.10' - name: Dependencies run: pip3 install --upgrade @@ -43,6 +43,8 @@ jobs: --name legendary ${{ steps.strip.outputs.option }} cli.py + env: + PYTHONOPTIMIZE: 1 - uses: actions/upload-artifact@v2 with: