Try fixing docker ci build
This commit is contained in:
parent
3cff753275
commit
39a67a1931
|
|
@ -27,11 +27,22 @@ jobs:
|
|||
target: ["armv7-unknown-linux-gnueabihf", "aarch64-unknown-linux-gnu"]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install stable
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- uses: https://github.com/taiki-e/install-action@cross
|
||||
# - name: Install podman
|
||||
# run: |
|
||||
# apt update
|
||||
# apt-get -y install podman
|
||||
# - name: Install stable
|
||||
# uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
# - uses: https://github.com/taiki-e/install-action@cross
|
||||
# - name: cross compile for ${{ matrix.target }}
|
||||
# run: cross build --target ${{ matrix.target }} --release
|
||||
- name: cross compile for ${{ matrix.target }}
|
||||
run: cross build --target ${{ matrix.target }} --release
|
||||
uses: houseabsolute/actions-rust-cross@v0
|
||||
with:
|
||||
command: build
|
||||
args: --release
|
||||
target: ${{ matrix.target }}
|
||||
strip: true
|
||||
- uses: actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
|
|
|
|||
Loading…
Reference in New Issue