diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-01-20 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-01-20 08:00:00 +0000 |
commit | 4c25bcc8e1fbeff15376b3cfb3940c01d1df82fe (patch) | |
tree | 96547bcfdb81103af09fa984f023e9a063d706ea /.github | |
parent | be25a6dbd1507ee63bec5c424996a07738a09338 (diff) | |
download | pam-4c25bcc8e1fbeff15376b3cfb3940c01d1df82fe.tar.gz pam-4c25bcc8e1fbeff15376b3cfb3940c01d1df82fe.tar.bz2 pam-4c25bcc8e1fbeff15376b3cfb3940c01d1df82fe.zip |
.github: switch from ubuntu-20.04 to ubuntu-latest
Switch runners to the latest Ubuntu LTS available, which is currently
Ubuntu 22.04. Also, remove old compiler versions from the ci matrix.
* .github/workflows/ci.yml (gcc8-x86_64, clang10-x86_64, clang9-x86_64,
clang8-x86_64): Remove.
(gcc11-x86_64-vendordir, gcc11-x86_64, gcc10-x86_64, gcc9-x86_64,
clang12-x86_64-vendordir, clang12-x86_64, clang11-x86_64): Replace
ubuntu-20.04 with ubuntu-latest.
Link: https://github.blog/changelog/2022-11-09-github-actions-ubuntu-latest-workflows-will-use-ubuntu-22-04/
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 70 |
1 files changed, 7 insertions, 63 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f7908fe..fd56f9e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: run: git diff-index --check --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904 gcc11-x86_64-vendordir: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: CC: gcc-11 TARGET: x86_64 @@ -29,7 +29,7 @@ jobs: run: ci/run-build-and-tests.sh gcc11-x86_64: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: CC: gcc-11 TARGET: x86_64 @@ -43,7 +43,7 @@ jobs: run: ci/run-build-and-tests.sh gcc10-x86_64: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: CC: gcc-10 TARGET: x86_64 @@ -57,7 +57,7 @@ jobs: run: ci/run-build-and-tests.sh gcc9-x86_64: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: CC: gcc TARGET: x86_64 @@ -70,22 +70,8 @@ jobs: - name: build check run: ci/run-build-and-tests.sh - gcc8-x86_64: - runs-on: ubuntu-20.04 - env: - CC: gcc-8 - TARGET: x86_64 - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: install dependencies - run: ci/install-dependencies.sh - - name: build check - run: ci/run-build-and-tests.sh - clang12-x86_64-vendordir: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: CC: clang-12 TARGET: x86_64 @@ -100,7 +86,7 @@ jobs: run: ci/run-build-and-tests.sh clang12-x86_64: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: CC: clang-12 TARGET: x86_64 @@ -114,7 +100,7 @@ jobs: run: ci/run-build-and-tests.sh clang11-x86_64: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: CC: clang-11 TARGET: x86_64 @@ -126,45 +112,3 @@ jobs: run: ci/install-dependencies.sh - name: build check run: ci/run-build-and-tests.sh - - clang10-x86_64: - runs-on: ubuntu-20.04 - env: - CC: clang - TARGET: x86_64 - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: install dependencies - run: ci/install-dependencies.sh - - name: build check - run: ci/run-build-and-tests.sh - - clang9-x86_64: - runs-on: ubuntu-20.04 - env: - CC: clang-9 - TARGET: x86_64 - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: install dependencies - run: ci/install-dependencies.sh - - name: build check - run: ci/run-build-and-tests.sh - - clang8-x86_64: - runs-on: ubuntu-20.04 - env: - CC: clang-8 - TARGET: x86_64 - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: install dependencies - run: ci/install-dependencies.sh - - name: build check - run: ci/run-build-and-tests.sh |