CI: Add OpenMandriva Cooker, remove Lx 4.2
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -278,7 +278,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
openmandriva_version: [ "4.2" ]
|
openmandriva_version: [ "cooker" ]
|
||||||
container:
|
container:
|
||||||
image: openmandriva/${{matrix.openmandriva_version}}
|
image: openmandriva/${{matrix.openmandriva_version}}
|
||||||
steps:
|
steps:
|
||||||
@@ -366,16 +366,16 @@ jobs:
|
|||||||
/github/home/rpmbuild/SRPMS/*.rpm
|
/github/home/rpmbuild/SRPMS/*.rpm
|
||||||
/github/home/rpmbuild/RPMS/x86_64/*.rpm
|
/github/home/rpmbuild/RPMS/x86_64/*.rpm
|
||||||
- name: SSH key setup
|
- name: SSH key setup
|
||||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci'
|
if: matrix.openmandriva_version != 'cooker' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci')
|
||||||
uses: shimataro/ssh-key-action@v2
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
known_hosts: ${{secrets.SSH_KNOWN_HOSTS}}
|
known_hosts: ${{secrets.SSH_KNOWN_HOSTS}}
|
||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
- name: Create server path
|
- name: Create server path
|
||||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci'
|
if: matrix.openmandriva_version != 'cooker' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci')
|
||||||
run: ssh -p ${{secrets.SSH_PORT}} -o StrictHostKeyChecking=no ${{secrets.SSH_USER}}@${{secrets.SSH_HOST}} mkdir -p ${{secrets.BUILDS_PATH}}/openmandriva/${{matrix.openmandriva_version}}
|
run: ssh -p ${{secrets.SSH_PORT}} -o StrictHostKeyChecking=no ${{secrets.SSH_USER}}@${{secrets.SSH_HOST}} mkdir -p ${{secrets.BUILDS_PATH}}/openmandriva/${{matrix.openmandriva_version}}
|
||||||
- name: rsync
|
- name: rsync
|
||||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci'
|
if: matrix.openmandriva_version != 'cooker' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci')
|
||||||
run: rsync -e "ssh -p ${{secrets.SSH_PORT}} -o StrictHostKeyChecking=no" -var /github/home/rpmbuild/SRPMS/*.rpm /github/home/rpmbuild/RPMS/x86_64/*.rpm ${{secrets.SSH_USER}}@${{secrets.SSH_HOST}}:${{secrets.BUILDS_PATH}}/openmandriva/${{matrix.openmandriva_version}}/
|
run: rsync -e "ssh -p ${{secrets.SSH_PORT}} -o StrictHostKeyChecking=no" -var /github/home/rpmbuild/SRPMS/*.rpm /github/home/rpmbuild/RPMS/x86_64/*.rpm ${{secrets.SSH_USER}}@${{secrets.SSH_HOST}}:${{secrets.BUILDS_PATH}}/openmandriva/${{matrix.openmandriva_version}}/
|
||||||
|
|
||||||
|
|
||||||
@@ -1562,7 +1562,6 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build-opensuse
|
- build-opensuse
|
||||||
- build-fedora
|
- build-fedora
|
||||||
- build-openmandriva
|
|
||||||
- build-mageia
|
- build-mageia
|
||||||
- build-debian
|
- build-debian
|
||||||
- build-ubuntu
|
- build-ubuntu
|
||||||
|
|||||||
Reference in New Issue
Block a user