Skip to content

Commit

Permalink
ci: run in debian docker
Browse files Browse the repository at this point in the history
  • Loading branch information
nanu-c committed Jun 16, 2023
1 parent da0144a commit c74a87e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:


- name: Install 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
run: apt update && apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev librsvg2-dev libayatana-appindicator3-dev libssl-dev libjavascriptcoregtk-4.1-dev cmake


- name: Check out code
Expand Down Expand Up @@ -120,6 +120,7 @@ jobs:
build-axolotl-deb-arm64:
name: Build axolotl Debian arm64
runs-on: ubuntu-latest
container: debian
needs:
- build-axolotl-web-deb-arm64
env:
Expand All @@ -131,16 +132,18 @@ jobs:
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 tauri arm64 dependencies
run: |
sudo dpkg --add-architecture arm64
sudo apt update && sudo apt-get install -y libgtk-3-dev:arm64 libwebkit2gtk-4.1-dev:arm64 librsvg2-dev:arm64 libayatana-appindicator3-dev:arm64 libssl-dev:arm64 libjavascriptcoregtk-4.1-dev:arm64
run: apt update && 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: |
dpkg --add-architecture arm64
apt update && apt-get install -y 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 Down

0 comments on commit c74a87e

Please sign in to comment.