Skip to content

Commit

Permalink
.github: switch x32 runners from ubuntu-latest to ubuntu-20.04
Browse files Browse the repository at this point in the history
Apparently, ubuntu-22.04 runners no longer support x32 executables,
so downgrade these runners to ubuntu-20.04.  As ubuntu-20.04 does not
provide gcc12, remove gcc12-x32-* runners.
  • Loading branch information
ldv-alt committed Mar 15, 2024
1 parent 9f29181 commit 7dc3017
Showing 1 changed file with 12 additions and 56 deletions.
68 changes: 12 additions & 56 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc13-x32:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-13
TARGET: x32
Expand All @@ -164,22 +164,8 @@ jobs:
- name: build check
run: ci/run-build-and-tests.sh

gcc12-x32:
runs-on: ubuntu-latest
env:
CC: gcc-12
TARGET: x32
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

gcc11-x32:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-11
TARGET: x32
Expand All @@ -193,7 +179,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc10-x32:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-10
TARGET: x32
Expand All @@ -207,7 +193,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc9-x32:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-9
TARGET: x32
Expand Down Expand Up @@ -525,7 +511,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc13-x32-debug:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-13
CPPFLAGS: -DUTEMPTER_DEBUG
Expand All @@ -539,23 +525,8 @@ jobs:
- name: build check
run: ci/run-build-and-tests.sh

gcc12-x32-debug:
runs-on: ubuntu-latest
env:
CC: gcc-12
CPPFLAGS: -DUTEMPTER_DEBUG
TARGET: x32
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

gcc11-x32-debug:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-11
CPPFLAGS: -DUTEMPTER_DEBUG
Expand All @@ -570,7 +541,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc10-x32-debug:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-10
CPPFLAGS: -DUTEMPTER_DEBUG
Expand All @@ -585,7 +556,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc9-x32-debug:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-9
CPPFLAGS: -DUTEMPTER_DEBUG
Expand Down Expand Up @@ -915,7 +886,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc13-x32-log:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-13
CPPFLAGS: -DUTEMPTER_LOG
Expand All @@ -929,23 +900,8 @@ jobs:
- name: build check
run: ci/run-build-and-tests.sh

gcc12-x32-log:
runs-on: ubuntu-latest
env:
CC: gcc-12
CPPFLAGS: -DUTEMPTER_LOG
TARGET: x32
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

gcc11-x32-log:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-11
CPPFLAGS: -DUTEMPTER_LOG
Expand All @@ -960,7 +916,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc10-x32-log:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-10
CPPFLAGS: -DUTEMPTER_LOG
Expand All @@ -975,7 +931,7 @@ jobs:
run: ci/run-build-and-tests.sh

gcc9-x32-log:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CC: gcc-9
CPPFLAGS: -DUTEMPTER_LOG
Expand Down

0 comments on commit 7dc3017

Please sign in to comment.