Skip to content

Commit

Permalink
Fix builds (#13)
Browse files Browse the repository at this point in the history
* Disable fast fail

If one build fails all other builds will continue.

* Remove Python 3.7

* Fixed macos build issues

The latest runner is arm64.
These changes will run tests and build for x64 and arm64

* Remove extra Python 3.7 test
  • Loading branch information
gentlegiantJGC authored May 22, 2024
1 parent 526e635 commit 7177c83
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,29 @@ on:
jobs:
deploy:
strategy:
fail-fast: false
matrix:
cfg:
- { os: windows-latest, architecture: x64, python-version: "3.7" }
- { os: windows-latest, architecture: x86, python-version: "3.7" }
- { os: macos-latest, architecture: x64, python-version: "3.7" }
- { os: windows-latest, architecture: x64, python-version: "3.8" }
- { os: windows-latest, architecture: x86, python-version: "3.8" }
- { os: macos-latest, architecture: x64, python-version: "3.8" }
- { os: macos-13, architecture: x64, python-version: "3.8" }
- { os: macos-latest, architecture: arm64, python-version: "3.8" }
- { os: windows-latest, architecture: x64, python-version: "3.9" }
- { os: windows-latest, architecture: x86, python-version: "3.9" }
- { os: macos-latest, architecture: x64, python-version: "3.9" }
- { os: macos-13, architecture: x64, python-version: "3.9" }
- { os: macos-latest, architecture: arm64, python-version: "3.9" }
- { os: windows-latest, architecture: x64, python-version: "3.10" }
- { os: windows-latest, architecture: x86, python-version: "3.10" }
- { os: macos-latest, architecture: x64, python-version: "3.10" }
- { os: macos-13, architecture: x64, python-version: "3.10" }
- { os: macos-latest, architecture: arm64, python-version: "3.10" }
- { os: windows-latest, architecture: x64, python-version: "3.11" }
- { os: windows-latest, architecture: x86, python-version: "3.11" }
- { os: macos-latest, architecture: x64, python-version: "3.11" }
- { os: macos-13, architecture: x64, python-version: "3.11" }
- { os: macos-latest, architecture: arm64, python-version: "3.11" }
- { os: windows-latest, architecture: x64, python-version: "3.12" }
- { os: windows-latest, architecture: x86, python-version: "3.12" }
- { os: macos-latest, architecture: x64, python-version: "3.12" }
- { os: macos-13, architecture: x64, python-version: "3.12" }
- { os: macos-latest, architecture: arm64, python-version: "3.12" }

runs-on: ${{ matrix.cfg.os }}

Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/python-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,30 @@ jobs:
strategy:
matrix:
cfg:
- { os: windows-latest, architecture: x64, python-version: "3.7" }
- { os: windows-latest, architecture: x86, python-version: "3.7" }
- { os: macos-latest, architecture: x64, python-version: "3.7" }
- { os: ubuntu-latest, architecture: x64, python-version: "3.7" }
- { os: windows-latest, architecture: x64, python-version: "3.8" }
- { os: windows-latest, architecture: x86, python-version: "3.8" }
- { os: macos-latest, architecture: x64, python-version: "3.8" }
- { os: macos-13, architecture: x64, python-version: "3.8" }
- { os: macos-latest, architecture: arm64, python-version: "3.8" }
- { os: ubuntu-latest, architecture: x64, python-version: "3.8" }
- { os: windows-latest, architecture: x64, python-version: "3.9" }
- { os: windows-latest, architecture: x86, python-version: "3.9" }
- { os: macos-latest, architecture: x64, python-version: "3.9" }
- { os: macos-13, architecture: x64, python-version: "3.9" }
- { os: macos-latest, architecture: arm64, python-version: "3.9" }
- { os: ubuntu-latest, architecture: x64, python-version: "3.9" }
- { os: windows-latest, architecture: x64, python-version: "3.10" }
- { os: windows-latest, architecture: x86, python-version: "3.10" }
- { os: macos-latest, architecture: x64, python-version: "3.10" }
- { os: macos-13, architecture: x64, python-version: "3.10" }
- { os: macos-latest, architecture: arm64, python-version: "3.10" }
- { os: ubuntu-latest, architecture: x64, python-version: "3.10" }
- { os: windows-latest, architecture: x64, python-version: "3.11" }
- { os: windows-latest, architecture: x86, python-version: "3.11" }
- { os: macos-latest, architecture: x64, python-version: "3.11" }
- { os: macos-13, architecture: x64, python-version: "3.11" }
- { os: macos-latest, architecture: arm64, python-version: "3.11" }
- { os: ubuntu-latest, architecture: x64, python-version: "3.11" }
- { os: windows-latest, architecture: x64, python-version: "3.12" }
- { os: windows-latest, architecture: x86, python-version: "3.12" }
- { os: macos-latest, architecture: x64, python-version: "3.12" }
- { os: macos-13, architecture: x64, python-version: "3.12" }
- { os: macos-latest, architecture: arm64, python-version: "3.12" }
- { os: ubuntu-latest, architecture: x64, python-version: "3.12" }

runs-on: ${{ matrix.cfg.os }}
Expand Down

0 comments on commit 7177c83

Please sign in to comment.