mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
ci: Update and fix GitHub actions
This commit is contained in:
4
.github/workflows/cibuild.yml
vendored
4
.github/workflows/cibuild.yml
vendored
@@ -16,11 +16,11 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
env:
|
env:
|
||||||
- { COMPILER: "gcc", COMPILER_VERSION: "13", RUN_SSH_PLUGIN_TEST: "1" }
|
- { COMPILER: "gcc", COMPILER_VERSION: "14", RUN_SSH_PLUGIN_TEST: "1" }
|
||||||
env: ${{ matrix.env }}
|
env: ${{ matrix.env }}
|
||||||
steps:
|
steps:
|
||||||
- name: Repository checkout
|
- name: Repository checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v4
|
||||||
- name: Ubuntu setup
|
- name: Ubuntu setup
|
||||||
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
||||||
- name: Configure & Make
|
- name: Configure & Make
|
||||||
|
|||||||
10
.github/workflows/codeql.yml
vendored
10
.github/workflows/codeql.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v3
|
uses: github/codeql-action/init@v3
|
||||||
@@ -39,8 +39,12 @@ jobs:
|
|||||||
config-file: .codeql-config.yml
|
config-file: .codeql-config.yml
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
run: |
|
||||||
env: { COMPILER: "gcc", COMPILER_VERSION: "13", RUN_SSH_PLUGIN_TEST: "1" }
|
sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
||||||
|
# Force autoconf for now, meson is broken in analysis step
|
||||||
|
rm meson.build
|
||||||
|
|
||||||
|
env: { COMPILER: "gcc", COMPILER_VERSION: "14", RUN_SSH_PLUGIN_TEST: "1" }
|
||||||
|
|
||||||
- name: Autobuild
|
- name: Autobuild
|
||||||
uses: github/codeql-action/autobuild@v3
|
uses: github/codeql-action/autobuild@v3
|
||||||
|
|||||||
4
.github/workflows/coverity.yml
vendored
4
.github/workflows/coverity.yml
vendored
@@ -12,12 +12,12 @@ jobs:
|
|||||||
if: github.repository == 'mbroz/cryptsetup'
|
if: github.repository == 'mbroz/cryptsetup'
|
||||||
steps:
|
steps:
|
||||||
- name: Repository checkout
|
- name: Repository checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v4
|
||||||
- name: Ubuntu setup
|
- name: Ubuntu setup
|
||||||
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
||||||
env:
|
env:
|
||||||
COMPILER: "gcc"
|
COMPILER: "gcc"
|
||||||
COMPILER_VERSION: "13"
|
COMPILER_VERSION: "14"
|
||||||
- name: Install Coverity
|
- name: Install Coverity
|
||||||
run: |
|
run: |
|
||||||
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=mbroz/cryptsetup" -O cov-analysis-linux64.tar.gz
|
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=mbroz/cryptsetup" -O cov-analysis-linux64.tar.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user