-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop arm-unknown-linux-gnueabihf as precompiled target
due to issues with the target-pointer-width (found 64, needed 32) and hence a failing compilation In order to fix cross-compilation
- Loading branch information
1 parent
f07bf1c
commit 244a197
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ jobs: | |
matrix: | ||
nif: ["2.16", "2.15"] | ||
job: | ||
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-22.04 , use-cross: true } | ||
- { target: aarch64-unknown-linux-gnu , os: ubuntu-22.04 , use-cross: true } | ||
- { target: aarch64-unknown-linux-musl , os: ubuntu-22.04 , use-cross: true } | ||
- { target: aarch64-apple-darwin , os: macos-11 } | ||
|
@@ -40,12 +39,14 @@ jobs: | |
run: | | ||
# Get the project version from mix.exs | ||
echo "PROJECT_VERSION=$(sed -n 's/^ @version "\(.*\)"/\1/p' mix.exs | head -n1)" >> $GITHUB_ENV | ||
- name: Install Rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: stable | ||
target: ${{ matrix.job.target }} | ||
|
||
|
||
- name: Build the project | ||
id: build-crate | ||
uses: philss/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters