Skip to content

Commit

Permalink
armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
rise0chen committed Jun 28, 2024
1 parent d8261be commit e4945ae
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/lua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
strategy:
fail-fast: false
matrix:
archit: [x86_64, aarch64]
archit: [x86_64, arm, aarch64]
include:
- archit: x86_64
target: x86_64-unknown-linux-gnu
- archit: arm
target: armv7-unknown-linux-gnueabihf
- archit: aarch64
target: aarch64-unknown-linux-gnu
runs-on: ubuntu-22.04
Expand All @@ -35,6 +37,11 @@ jobs:
target: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
continue-on-error: true
- name: Install Cross Compiler
if: ${{ matrix.archit == 'arm'}}
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
- name: Install Cross Compiler
if: ${{ matrix.archit == 'aarch64' }}
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
strategy:
fail-fast: false
matrix:
archit: [x86_64, aarch64]
archit: [x86_64, arm, aarch64]
include:
- archit: x86_64
target: x86_64-unknown-linux-gnu
- archit: arm
target: armv7-unknown-linux-gnueabihf
- archit: aarch64
target: aarch64-unknown-linux-gnu
runs-on: ubuntu-22.04
Expand All @@ -35,6 +37,11 @@ jobs:
target: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
continue-on-error: true
- name: Install Cross Compiler
if: ${{ matrix.archit == 'arm'}}
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
- name: Install Cross Compiler
if: ${{ matrix.archit == 'aarch64'}}
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/python_asyncio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
strategy:
fail-fast: false
matrix:
archit: [x86_64, aarch64]
archit: [x86_64, arm, aarch64]
include:
- archit: x86_64
target: x86_64-unknown-linux-gnu
- archit: arm
target: armv7-unknown-linux-gnueabihf
- archit: aarch64
target: aarch64-unknown-linux-gnu
runs-on: ubuntu-22.04
Expand All @@ -35,6 +37,11 @@ jobs:
target: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
continue-on-error: true
- name: Install Cross Compiler
if: ${{ matrix.archit == 'arm'}}
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
- name: Install Cross Compiler
if: ${{ matrix.archit == 'aarch64'}}
run: |
Expand Down

0 comments on commit e4945ae

Please sign in to comment.