Skip to content

Commit

Permalink
add native linux arm install script testing (#18776)
Browse files Browse the repository at this point in the history
* add native linux arm install script testing

* correct

* shorter

* oops

* Update test-install-scripts.yml
  • Loading branch information
altendky authored Oct 30, 2024
1 parent 920b740 commit 68adc50
Showing 1 changed file with 32 additions and 13 deletions.
45 changes: 32 additions & 13 deletions .github/workflows/test-install-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,53 @@ concurrency:

jobs:
test_scripts:
name: Test Install Scripts - ${{ matrix.development.name }} - ${{ matrix.editable.name }}
runs-on: ${{ matrix.os.runs-on }}
name: Native ${{ matrix.os.emoji }} ${{ matrix.arch.name }} ${{ matrix.development.name }} - ${{ matrix.editable.name }}
runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}
strategy:
fail-fast: false
matrix:
python:
- major-dot-minor: "3.10"
os:
- runs-on: macos-latest
matrix: macos-arm
- runs-on: macos-13
matrix: macos-intel
- runs-on: ubuntu-latest
- name: Linux
emoji: 🐧
runs-on:
arm: [Linux, ARM64]
intel: ubuntu-latest
matrix: linux
- runs-on: windows-latest
- name: macOS
emoji: 🍎
runs-on:
arm: macos-latest
intel: macos-13
matrix: macos
- name: Windows
emoji: 🪟
runs-on:
intel: windows-latest
matrix: windows
arch:
- name: ARM
matrix: arm
- name: Intel
matrix: intel
development:
- name: Non-development
- name: Non-dev
value: false
- name: Development
- name: Dev
value: true
editable:
- name: Non-editable
- name: Non-edit
value: false
matrix: non-editable
- name: Editable
- name: Edit
value: true
matrix: editable
exclude:
- os:
matrix: windows
arch:
matrix: arm

steps:
- name: Checkout Code
Expand Down Expand Up @@ -112,7 +131,7 @@ jobs:
[ "$POST_VERSION" != "shooby-doowah" -a "$PRE_VERSION" = "$POST_VERSION" ]
test_scripts_in_docker:
name: Test Install Scripts ${{ matrix.distribution.name }} ${{ matrix.arch.name }}
name: Docker ${{ matrix.distribution.name }} ${{ matrix.arch.name }}
runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}
container: ${{ matrix.distribution.url }}
strategy:
Expand Down

0 comments on commit 68adc50

Please sign in to comment.