mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-05 23:38:43 +02:00
ci(9245d38): set-status first of all
and no need to cache libpam for vm build architectures
This commit is contained in:
parent
e4b11f9a30
commit
240bdbede6
50
.github/workflows/check-and-build.yml
vendored
50
.github/workflows/check-and-build.yml
vendored
@ -53,11 +53,6 @@ jobs:
|
|||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
||||||
with:
|
|
||||||
packages: "git libpam0g-dev"
|
|
||||||
version: 1.0
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
with:
|
with:
|
||||||
@ -65,6 +60,11 @@ jobs:
|
|||||||
status: pending
|
status: pending
|
||||||
description: ${{ steps.build.outputs.DESCR }}
|
description: ${{ steps.build.outputs.DESCR }}
|
||||||
context: Build for amd64
|
context: Build for amd64
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git libpam0g-dev"
|
||||||
|
version: 1.0
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- id: build
|
- id: build
|
||||||
run: |
|
run: |
|
||||||
make -j$(nproc) 2> /tmp/stderr || (ERR=$?; cat /tmp/stderr >&2; exit $ERR)
|
make -j$(nproc) 2> /tmp/stderr || (ERR=$?; cat /tmp/stderr >&2; exit $ERR)
|
||||||
@ -97,11 +97,6 @@ jobs:
|
|||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
||||||
with:
|
|
||||||
packages: "git libpam0g-dev gcc-multilib"
|
|
||||||
version: 1.0
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
with:
|
with:
|
||||||
@ -109,6 +104,11 @@ jobs:
|
|||||||
status: pending
|
status: pending
|
||||||
description: ${{ steps.build.outputs.DESCR }}
|
description: ${{ steps.build.outputs.DESCR }}
|
||||||
context: Build for i386
|
context: Build for i386
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git libpam0g-dev gcc-multilib"
|
||||||
|
version: 1.0
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- run: |
|
- run: |
|
||||||
sudo dpkg --add-architecture i386
|
sudo dpkg --add-architecture i386
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
@ -145,11 +145,6 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
steps:
|
steps:
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
||||||
with:
|
|
||||||
packages: "git libpam0g-dev"
|
|
||||||
version: 1.0
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
with:
|
with:
|
||||||
@ -157,6 +152,11 @@ jobs:
|
|||||||
status: pending
|
status: pending
|
||||||
description: ${{ steps.status.outputs.DESCR }}
|
description: ${{ steps.status.outputs.DESCR }}
|
||||||
context: Build for aarch64
|
context: Build for aarch64
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git"
|
||||||
|
version: 1.0
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- uses: uraimo/run-on-arch-action@v2
|
- uses: uraimo/run-on-arch-action@v2
|
||||||
with:
|
with:
|
||||||
arch: aarch64
|
arch: aarch64
|
||||||
@ -199,11 +199,6 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
steps:
|
steps:
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
||||||
with:
|
|
||||||
packages: "git libpam0g-dev"
|
|
||||||
version: 1.0
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
with:
|
with:
|
||||||
@ -211,6 +206,11 @@ jobs:
|
|||||||
status: pending
|
status: pending
|
||||||
description: ${{ steps.status.outputs.DESCR }}
|
description: ${{ steps.status.outputs.DESCR }}
|
||||||
context: Build for armv7
|
context: Build for armv7
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git"
|
||||||
|
version: 1.0
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- uses: uraimo/run-on-arch-action@v2
|
- uses: uraimo/run-on-arch-action@v2
|
||||||
with:
|
with:
|
||||||
arch: armv7
|
arch: armv7
|
||||||
@ -253,11 +253,6 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: [spellcheck, shellcheck, clangcheck]
|
needs: [spellcheck, shellcheck, clangcheck]
|
||||||
steps:
|
steps:
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
||||||
with:
|
|
||||||
packages: "git libpam0g-dev"
|
|
||||||
version: 1.0
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: myrotvorets/set-commit-status-action@master
|
- uses: myrotvorets/set-commit-status-action@master
|
||||||
if: inputs.set-statuses
|
if: inputs.set-statuses
|
||||||
with:
|
with:
|
||||||
@ -265,6 +260,11 @@ jobs:
|
|||||||
status: pending
|
status: pending
|
||||||
description: ${{ steps.status.outputs.DESCR }}
|
description: ${{ steps.status.outputs.DESCR }}
|
||||||
context: Build for riscv64
|
context: Build for riscv64
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: "git"
|
||||||
|
version: 1.0
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- uses: uraimo/run-on-arch-action@v2
|
- uses: uraimo/run-on-arch-action@v2
|
||||||
with:
|
with:
|
||||||
arch: riscv64
|
arch: riscv64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user