Skip to content

Commit

Permalink
Try not using chroot build on archlinux
Browse files Browse the repository at this point in the history
The new devtools seems to be unhappy about the github docker container somehow
  • Loading branch information
yuyichao committed Dec 30, 2024
1 parent 8048ccb commit acd8be8
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Create package
run: |
cd arch/libnacs-git
MAKEFLAGS="-j$(nproc)" archlinuxcn-x86_64-build -- -U user
MAKEFLAGS="-j$(nproc)" makepkg -si
rm -v *.log
- name: "Upload binaries"
Expand Down Expand Up @@ -74,12 +74,8 @@ jobs:
- name: Create package
run: |
cd arch/python-libnacs-git
deps_args=()
for f in ../../libnacs-package/*.pkg.*; do
echo "Adding dependency: $f"
deps_args=("${deps_args[@]}" -I "$f")
done
MAKEFLAGS="-j$(nproc)" archlinuxcn-x86_64-build -- -U user "${deps_args[@]}"
pacman -U ../../libnacs-package/*.pkg.*
MAKEFLAGS="-j$(nproc)" makepkg -si
rm -v *.log
- name: "Upload binaries"
Expand Down Expand Up @@ -119,12 +115,8 @@ jobs:
- name: Create package
run: |
cd arch/molecube2-git
deps_args=()
for f in ../../libnacs-package/*.pkg.*; do
echo "Adding dependency: $f"
deps_args=("${deps_args[@]}" -I "$f")
done
MAKEFLAGS="-j$(nproc)" archlinuxcn-x86_64-build -- -U user "${deps_args[@]}"
pacman -U ../../libnacs-package/*.pkg.*
MAKEFLAGS="-j$(nproc)" makepkg -si
rm -v *.log
- name: "Upload binaries"
Expand Down Expand Up @@ -164,12 +156,8 @@ jobs:
- name: Create package
run: |
cd arch/labctrl-node-git
deps_args=()
for f in ../../libnacs-package/*.pkg.*; do
echo "Adding dependency: $f"
deps_args=("${deps_args[@]}" -I "$f")
done
MAKEFLAGS="-j$(nproc)" archlinuxcn-x86_64-build -- -U user "${deps_args[@]}"
pacman -U ../../libnacs-package/*.pkg.*
MAKEFLAGS="-j$(nproc)" makepkg -si
rm -v *.log
- name: "Upload binaries"
Expand Down Expand Up @@ -197,7 +185,7 @@ jobs:
- name: Create package
run: |
cd arch/libspcm
MAKEFLAGS="-j$(nproc)" extra-x86_64-build -- -U user
MAKEFLAGS="-j$(nproc)" makepkg -si
rm -v *.log
- name: "Upload binaries"
Expand Down

0 comments on commit acd8be8

Please sign in to comment.