-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from blocklessnetwork/feature/ci
fix the cross compile.
- Loading branch information
Showing
2 changed files
with
0 additions
and
14 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 |
---|---|---|
|
@@ -31,16 +31,6 @@ jobs: | |
uses: bruceadams/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: create Cross.toml | ||
run: | | ||
echo [target.aarch64-unknown-linux-gnu] > Cross.toml | ||
echo "dockerfile = \"./Dockerfile\"" >> Cross.toml | ||
- name: create Dockerfile | ||
run: | | ||
echo "FROM arm64v8/rust" > Dockerfile | ||
echo "RUN dpkg --add-architecture arm64 && \\" >> Dockerfile | ||
echo "apt-get update && \\" >> Dockerfile | ||
echo "apt-get install --assume-yes build-essential" >> Dockerfile | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
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 |
---|---|---|
|
@@ -24,10 +24,6 @@ jobs: | |
uses: bruceadams/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: create Cross.toml | ||
run: | | ||
echo [target.wasm32-unknown-unknown] > Cross.toml | ||
echo "dockerfile = \"./Dockerfile\"" >> Cross.toml | ||
- name: create Dockerfile | ||
run: | | ||
echo "apt-get update && \\" >> Dockerfile | ||
|