Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SunBeau authored Apr 11, 2024
1 parent 2f5d738 commit 453e065
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false

matrix:
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04]
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
build_type: [Release]
c_compiler: [gcc, clang]

Expand Down Expand Up @@ -51,9 +51,9 @@ jobs:
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --build-config ${{ matrix.build_type }}

test-on-centos:
build:
name: centos:7-latest
runs-on: centos:7-latest
runs-on: ubuntu-latest
container: docker.io/centos:7

strategy:
Expand All @@ -63,6 +63,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: intall deps
run: |
yum install -y wget tar gcc automake autoconf libtool make cmake
- name: Set reusable strings
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
id: strings
Expand Down

0 comments on commit 453e065

Please sign in to comment.