Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update imspy-connector-publish.yml #308

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading