@@ -105,8 +105,8 @@ jobs:
105105 run : make config=asan
106106 - name : test
107107 run : make config=asan test
108- # #### linux #####
109- linux :
108+ # #### deb linux #####
109+ deb :
110110 strategy :
111111 fail-fast : false
112112 matrix :
@@ -172,49 +172,49 @@ jobs:
172172 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
173173 if : startsWith(github.ref, 'refs/tags/')
174174# #### archlinux #####
175- archlinux :
176- strategy :
177- fail-fast : false
178- matrix :
179- include :
180- - {image: "archlinux:latest", arch: amd64}
181- # - {image: "lopsided/archlinux-arm32v7:latest", arch: arm32, labels: [arm32,docker]}
182- - {image: "lopsided/archlinux-arm64v8:latest", arch: arm64, labels: [arm64,docker]}
183- runs-on : ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
184- container : ${{ matrix.image }}
185- name : linux - archlinux - ${{ matrix.arch }}
186- steps :
187- - name : install ci tools
188- run : |
189- pacman --sync --refresh --sysupgrade --noconfirm --noprogressbar base-devel git
190- - name : add cppfw pacman repo
191- uses : myci-actions/add-pacman-repo@master
192- with :
193- name : cppfw
194- url : https://gagis.hopto.org/repo/cppfw/archlinux/${{ matrix.arch }}
195- key-server : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
196- install : >-
197- myci
198- - name : git clone
199- uses : myci-actions/checkout@master
200- - name : set PACKAGE_VERSION
201- uses : myci-actions/export-env-var@master
202- with : {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
203- # makepkg needs to install dependency packages, so nobody user needs sudo rights
204- - name : add nobody to sudoers
205- run : |
206- echo "nobody ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
207- - name : build
208- run : |
209- # provide write access to user nobody
210- chmod --recursive 777 .
211- cd archlinux
212- sudo --user=nobody --preserve-env=PACKAGE_VERSION makepkg --syncdeps --noconfirm --skipinteg --noprogressbar
213- - name : deploy
214- run : |
215- echo "${{ secrets.MYCI_REPO_SSH_KEY }}" > repo_key_rsa && chmod 600 repo_key_rsa
216- myci-deploy-pacman-ssh.sh --server gagis.hopto.org --key repo_key_rsa --repo cppfw/archlinux/${{ matrix.arch }} --database cppfw archlinux/$PACKAGE_NAME-*.pkg.*
217- if : startsWith(github.ref, 'refs/tags/')
175+ # archlinux:
176+ # strategy:
177+ # fail-fast: false
178+ # matrix:
179+ # include:
180+ # - {image: "archlinux:latest", arch: amd64}
181+ # # - {image: "lopsided/archlinux-arm32v7:latest", arch: arm32, labels: [arm32,docker]}
182+ # - {image: "lopsided/archlinux-arm64v8:latest", arch: arm64, labels: [arm64,docker]}
183+ # runs-on: ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
184+ # container: ${{ matrix.image }}
185+ # name: linux - archlinux - ${{ matrix.arch }}
186+ # steps:
187+ # - name: install ci tools
188+ # run: |
189+ # pacman --sync --refresh --sysupgrade --noconfirm --noprogressbar base-devel git
190+ # - name: add cppfw pacman repo
191+ # uses: myci-actions/add-pacman-repo@master
192+ # with:
193+ # name: cppfw
194+ # url: https://gagis.hopto.org/repo/cppfw/archlinux/${{ matrix.arch }}
195+ # key-server: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
196+ # install: >-
197+ # myci
198+ # - name: git clone
199+ # uses: myci-actions/checkout@master
200+ # - name: set PACKAGE_VERSION
201+ # uses: myci-actions/export-env-var@master
202+ # with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
203+ # # makepkg needs to install dependency packages, so nobody user needs sudo rights
204+ # - name: add nobody to sudoers
205+ # run: |
206+ # echo "nobody ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
207+ # - name: build
208+ # run: |
209+ # # provide write access to user nobody
210+ # chmod --recursive 777 .
211+ # cd archlinux
212+ # sudo --user=nobody --preserve-env=PACKAGE_VERSION makepkg --syncdeps --noconfirm --skipinteg --noprogressbar
213+ # - name: deploy
214+ # run: |
215+ # echo "${{ secrets.MYCI_REPO_SSH_KEY }}" > repo_key_rsa && chmod 600 repo_key_rsa
216+ # myci-deploy-pacman-ssh.sh --server gagis.hopto.org --key repo_key_rsa --repo cppfw/archlinux/${{ matrix.arch }} --database cppfw archlinux/$PACKAGE_NAME-*.pkg.*
217+ # if: startsWith(github.ref, 'refs/tags/')
218218# #### macosx #####
219219 macosx :
220220 runs-on : macos-latest
0 commit comments