Skip to content

Commit dba3dc1

Browse files
committedAug 22, 2024·
archlinux: disable build
1 parent 1e0d613 commit dba3dc1

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed
 

‎.github/workflows/ci.yml

+43-43
Original file line numberDiff line numberDiff line change
@@ -121,49 +121,49 @@ jobs:
121121
myci-deploy-apt-ssh.sh --key repo_key_rsa --server gagis.hopto.org --repo cppfw/${{ matrix.os }} --distro ${{ matrix.codename }} --component main ../lib${PACKAGE_NAME}*_${PACKAGE_VERSION}_*.*deb
122122
if: startsWith(github.ref, 'refs/tags/')
123123
##### archlinux #####
124-
archlinux:
125-
strategy:
126-
fail-fast: false
127-
matrix:
128-
include:
129-
- {image: "archlinux:latest", arch: amd64}
130-
# - {image: "lopsided/archlinux-arm32v7:latest", arch: arm32, labels: [arm32,docker]}
131-
- {image: "lopsided/archlinux-arm64v8:latest", arch: arm64, labels: [arm64,docker]}
132-
runs-on: ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
133-
container: ${{ matrix.image }}
134-
name: linux - archlinux - ${{ matrix.arch }}
135-
steps:
136-
- name: install ci tools
137-
run: |
138-
pacman --sync --refresh --sysupgrade --noconfirm --noprogressbar base-devel git
139-
- name: add cppfw pacman repo
140-
uses: myci-actions/add-pacman-repo@master
141-
with:
142-
name: cppfw
143-
url: https://gagis.hopto.org/repo/cppfw/archlinux/${{ matrix.arch }}
144-
key-server: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
145-
install: >-
146-
myci
147-
- name: git clone
148-
uses: myci-actions/checkout@master
149-
- name: set PACKAGE_VERSION
150-
uses: myci-actions/export-env-var@master
151-
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
152-
# makepkg needs to install dependency packages, so nobody user needs sudo rights
153-
- name: add nobody to sudoers
154-
run: |
155-
echo "nobody ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
156-
- name: build
157-
run: |
158-
# provide write access to user nobody
159-
chmod --recursive 777 .
160-
cd archlinux
161-
sudo --user=nobody --preserve-env=PACKAGE_VERSION makepkg --syncdeps --noconfirm --skipinteg --noprogressbar
162-
- name: deploy
163-
run: |
164-
echo "${{ secrets.MYCI_REPO_SSH_KEY }}" > repo_key_rsa && chmod 600 repo_key_rsa
165-
myci-deploy-pacman-ssh.sh --server gagis.hopto.org --key repo_key_rsa --repo cppfw/archlinux/${{ matrix.arch }} --database cppfw archlinux/$PACKAGE_NAME-*.pkg.*
166-
if: startsWith(github.ref, 'refs/tags/')
124+
# archlinux:
125+
# strategy:
126+
# fail-fast: false
127+
# matrix:
128+
# include:
129+
# - {image: "archlinux:latest", arch: amd64}
130+
# # - {image: "lopsided/archlinux-arm32v7:latest", arch: arm32, labels: [arm32,docker]}
131+
# - {image: "lopsided/archlinux-arm64v8:latest", arch: arm64, labels: [arm64,docker]}
132+
# runs-on: ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
133+
# container: ${{ matrix.image }}
134+
# name: linux - archlinux - ${{ matrix.arch }}
135+
# steps:
136+
# - name: install ci tools
137+
# run: |
138+
# pacman --sync --refresh --sysupgrade --noconfirm --noprogressbar base-devel git
139+
# - name: add cppfw pacman repo
140+
# uses: myci-actions/add-pacman-repo@master
141+
# with:
142+
# name: cppfw
143+
# url: https://gagis.hopto.org/repo/cppfw/archlinux/${{ matrix.arch }}
144+
# key-server: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
145+
# install: >-
146+
# myci
147+
# - name: git clone
148+
# uses: myci-actions/checkout@master
149+
# - name: set PACKAGE_VERSION
150+
# uses: myci-actions/export-env-var@master
151+
# with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
152+
# # makepkg needs to install dependency packages, so nobody user needs sudo rights
153+
# - name: add nobody to sudoers
154+
# run: |
155+
# echo "nobody ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
156+
# - name: build
157+
# run: |
158+
# # provide write access to user nobody
159+
# chmod --recursive 777 .
160+
# cd archlinux
161+
# sudo --user=nobody --preserve-env=PACKAGE_VERSION makepkg --syncdeps --noconfirm --skipinteg --noprogressbar
162+
# - name: deploy
163+
# run: |
164+
# echo "${{ secrets.MYCI_REPO_SSH_KEY }}" > repo_key_rsa && chmod 600 repo_key_rsa
165+
# myci-deploy-pacman-ssh.sh --server gagis.hopto.org --key repo_key_rsa --repo cppfw/archlinux/${{ matrix.arch }} --database cppfw archlinux/$PACKAGE_NAME-*.pkg.*
166+
# if: startsWith(github.ref, 'refs/tags/')
167167
##### macosx #####
168168
macosx:
169169
runs-on: macos-latest

0 commit comments

Comments
 (0)
Please sign in to comment.