From 39a67a19312ccf164223e034bdf4dd660742acd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20M=C3=BCndelein?= Date: Mon, 12 Jun 2023 09:47:40 +0200 Subject: [PATCH] Try fixing docker ci build --- .gitea/workflows/main.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 493d2d1..d442e72 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -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: |-