aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-11-28 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-11-28 08:00:00 +0000
commitc72f8d11ff13d7870462799ac06e45543e78de64 (patch)
treeb56c0462aee043b46b353bb7cbf5571253eed3e5 /.github
parent1fca918f5397b6f6fcd393078b3aca664d032521 (diff)
downloadpam-c72f8d11ff13d7870462799ac06e45543e78de64.tar.gz
pam-c72f8d11ff13d7870462799ac06e45543e78de64.tar.bz2
pam-c72f8d11ff13d7870462799ac06e45543e78de64.zip
.github: partially migrate from ubuntu-18.04 to ubuntu-20.04
* .github/workflows/ci.yml (runs-on): Switch from ubuntu-latest to ubuntu-20.04 for whitespace-errors and *-x86_64 jobs. Stick with ubuntu-18.04 for *-x86 and *-x32 jobs until we figure out how to obtain -lcrypt on ubuntu-20.04 for these architectures.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml84
1 files changed, 21 insertions, 63 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5f24720d..579473dc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,14 +7,14 @@ env:
jobs:
whitespace-errors:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: check
run: git diff-index --check --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904
gcc10-x86_64:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
env:
CC: gcc-10
TARGET: x86_64
@@ -28,9 +28,9 @@ jobs:
run: ci/run-build-and-tests.sh
gcc9-x86_64:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
env:
- CC: gcc-9
+ CC: gcc
TARGET: x86_64
steps:
- uses: actions/checkout@v2
@@ -42,7 +42,7 @@ jobs:
run: ci/run-build-and-tests.sh
gcc8-x86_64:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
env:
CC: gcc-8
TARGET: x86_64
@@ -55,10 +55,10 @@ jobs:
- name: build check
run: ci/run-build-and-tests.sh
- gcc-x86_64:
- runs-on: ubuntu-latest
+ clang10-x86_64:
+ runs-on: ubuntu-20.04
env:
- CC: gcc
+ CC: clang
TARGET: x86_64
steps:
- uses: actions/checkout@v2
@@ -70,7 +70,7 @@ jobs:
run: ci/run-build-and-tests.sh
clang9-x86_64:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
env:
CC: clang-9
TARGET: x86_64
@@ -84,7 +84,7 @@ jobs:
run: ci/run-build-and-tests.sh
clang8-x86_64:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
env:
CC: clang-8
TARGET: x86_64
@@ -97,22 +97,8 @@ jobs:
- name: build check
run: ci/run-build-and-tests.sh
- clang-x86_64:
- runs-on: ubuntu-latest
- env:
- CC: clang
- TARGET: x86_64
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - name: install dependencies
- run: ci/install-dependencies.sh
- - name: build check
- run: ci/run-build-and-tests.sh
-
gcc10-x86:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
env:
CC: gcc-10
TARGET: x86
@@ -126,7 +112,7 @@ jobs:
run: ci/run-build-and-tests.sh
gcc9-x86:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
env:
CC: gcc-9
TARGET: x86
@@ -140,7 +126,7 @@ jobs:
run: ci/run-build-and-tests.sh
gcc8-x86:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
env:
CC: gcc-8
TARGET: x86
@@ -153,10 +139,10 @@ jobs:
- name: build check
run: ci/run-build-and-tests.sh
- gcc-x86:
- runs-on: ubuntu-latest
+ clang10-x86:
+ runs-on: ubuntu-18.04
env:
- CC: gcc
+ CC: clang-10
TARGET: x86
steps:
- uses: actions/checkout@v2
@@ -168,7 +154,7 @@ jobs:
run: ci/run-build-and-tests.sh
clang9-x86:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
env:
CC: clang-9
TARGET: x86
@@ -182,7 +168,7 @@ jobs:
run: ci/run-build-and-tests.sh
clang8-x86:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
env:
CC: clang-8
TARGET: x86
@@ -195,22 +181,8 @@ jobs:
- name: build check
run: ci/run-build-and-tests.sh
- clang-x86:
- runs-on: ubuntu-latest
- env:
- CC: clang
- TARGET: x86
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - name: install dependencies
- run: ci/install-dependencies.sh
- - name: build check
- run: ci/run-build-and-tests.sh
-
gcc10-x32:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
env:
CC: gcc-10
TARGET: x32
@@ -224,7 +196,7 @@ jobs:
run: ci/run-build-and-tests.sh
gcc9-x32:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
env:
CC: gcc-9
TARGET: x32
@@ -238,7 +210,7 @@ jobs:
run: ci/run-build-and-tests.sh
gcc8-x32:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
env:
CC: gcc-8
TARGET: x32
@@ -250,17 +222,3 @@ jobs:
run: ci/install-dependencies.sh
- name: build check
run: ci/run-build-and-tests.sh
-
- gcc-x32:
- runs-on: ubuntu-latest
- env:
- CC: gcc
- TARGET: x32
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - name: install dependencies
- run: ci/install-dependencies.sh
- - name: build check
- run: ci/run-build-and-tests.sh