Skip to content

Commit

Permalink
Moved workflows from Ubuntu 22.04 to 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
GleammerRay committed Mar 24, 2024
1 parent 580a65b commit 74aa366
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "Install dependencies"
echo "===================================================="

apt-get update
apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync git file unzip zip wget curl libc6
DEBIAN_FRONTEND=noninteractive apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync git file unzip zip wget curl libc6

echo "===================================================="
echo "Configure"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/armv7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "Install dependencies"
echo "===================================================="

apt-get update
apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync git file unzip zip wget curl libc6
DEBIAN_FRONTEND=noninteractive apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync git file unzip zip wget curl libc6

echo "===================================================="
echo "Configure"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-all-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
jobs:
build_android:
name: Build Passy for Android
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
DEBIAN_FRONTEND=noninteractive sudo apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -48,15 +48,15 @@ jobs:
path: /home/runner/work/Passy/build/Passy-Android.apk
build_linux:
name: Build Passy for Linux
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
DEBIAN_FRONTEND=noninteractive sudo apt-get -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
- name: Install flutter
shell: bash
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-linux-arm64-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
chmod +x arm64.sh
- name: Install dependencies
shell: bash
run: sudo apt install -y qemu binfmt-support qemu-user-static qemu-system-arm
run: sudo apt-get install -y qemu binfmt-support qemu-user-static qemu-system-arm
- name: Build for ARM64
uses: tj-actions/docker-run@v2
with:
image: ubuntu:latest
image: ubuntu:20.04
name: ubuntu
options: --rm --platform linux/arm64 -v $PWD:/Passy -v /home/runner/work/Passy/build:/passy-build -v /home/runner/work/Passy/bin:/passy-bin
args: /passy-bin/arm64.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-linux-armv7-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
chmod +x armv7.sh
- name: Install dependencies
shell: bash
run: sudo apt install -y qemu binfmt-support qemu-user-static qemu-system-arm
run: sudo apt-get install -y qemu binfmt-support qemu-user-static qemu-system-arm
- name: Build for ARMv7
uses: tj-actions/docker-run@v2
with:
image: ubuntu:latest
image: ubuntu:20.04
name: ubuntu
options: --rm --platform linux/arm/v7 -v $PWD:/Passy -v /home/runner/work/Passy/build:/passy-build -v /home/runner/work/Passy/bin:/passy-bin
args: /passy-bin/armv7.sh
Expand Down

0 comments on commit 74aa366

Please sign in to comment.