From 4cb7315fe4fcff2e09b1a7d73a13289411fc0c0b Mon Sep 17 00:00:00 2001 From: "aaron@nanu-c.org" Date: Fri, 16 Jun 2023 23:06:10 +0200 Subject: [PATCH] ci: debian remove arch depending build steps --- .github/workflows/build.yaml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a0606b44f..ee73da9c9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -130,22 +130,6 @@ jobs: - name: Install Rust run: rustup update stable - - name: Install tauri dependencies - run: sudo apt update && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev librsvg2-dev libayatana-appindicator3-dev libssl-dev libjavascriptcoregtk-4.1-dev cmake - - - name: Install cross-compilation tools - uses: taiki-e/setup-cross-toolchain-action@v1 - with: - target: aarch64-unknown-linux-gnu - - - name: Install tauri arm64 dependencies - run: | - echo "deb [arch=arm64] http://ports.ubuntu.com/ jammy main multiverse universe" | sudo tee -a /etc/apt/sources.list - echo "deb [arch=arm64] http://ports.ubuntu.com/ jammy-security main multiverse universe" | sudo tee -a /etc/apt/sources.list - echo "deb [arch=arm64] http://ports.ubuntu.com/ jammy-backports main multiverse universe" | sudo tee -a /etc/apt/sources.list - echo "deb [arch=arm64] http://ports.ubuntu.com/ jammy-updates main multiverse universe" | sudo tee -a /etc/apt/sources.list - sudo apt update && sudo apt-get install -y --no-install-recommends libgtk-3-dev:arm64 libwebkit2gtk-4.1-dev:arm64 librsvg2-dev:arm64 libayatana-appindicator3-dev:arm64 libssl-dev:arm64 libjavascriptcoregtk-4.1-dev:arm64 - - name: Rust cache uses: swatinem/rust-cache@v2 @@ -165,7 +149,7 @@ jobs: mkdir --parents axolotl-web/dist cp -rf ${{steps.download-axolotl-web.outputs.download-path}}/* axolotl-web/dist - name: Build - run: RUSTFLAGS="-C linker=aarch64-linux-gnu-gcc" cargo build --release --target aarch64-unknown-linux-gnu --features tauri + run: cargo build --release --target aarch64-unknown-linux-gnu --features tauri - name: Upload build artifacts uses: actions/upload-artifact@v3