Skip to content

Commit

Permalink
ci: debian remove arch depending build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
nanu-c committed Jun 16, 2023
1 parent 03dbf2b commit 4cb7315
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 4cb7315

Please sign in to comment.