Skip to content

Commit

Permalink
Merge pull request #308 from theGreatHerrLebert/theGreatHerrLebert-pa…
Browse files Browse the repository at this point in the history
…tch-9

Update imspy-connector-publish.yml
  • Loading branch information
theGreatHerrLebert authored Jan 7, 2025
2 parents bd41eea + d9c29b6 commit c1476c0
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/imspy-connector-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
- os: ubuntu-latest
python-version: '3.11'
publish: true
- os: ubuntu-latest
python-version: '3.11'
target: aarch64-unknown-linux-gnu
publish: true
- os: windows-latest
python-version: '3.11'
publish: true
Expand All @@ -34,10 +31,18 @@ jobs:
target: aarch64-apple-darwin

steps:
- uses: actions/checkout@v3
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up Python on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python3.11 python3.11-venv python3.11-dev python3-pip
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -54,12 +59,13 @@ jobs:
override: true
target: ${{ matrix.target || '' }}

- name: Install Cross Compilation Tools (Linux ARM64 Only)
- name: Install Cross-Compilation Tools (Linux ARM64 Only)
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: |
sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu python3.11 python3-pip python3-venv
sudo apt-get update && sudo apt-get install -y \
gcc-aarch64-linux-gnu
- name: Change to imspy-connector directory
- name: Change to imspy-connector Directory
run: cd imspy_connector

- name: Clean Cargo Artifacts
Expand Down

0 comments on commit c1476c0

Please sign in to comment.