Skip to content

Commit

Permalink
ci: try comparison hack
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Jan 30, 2025
1 parent 9597fa0 commit a9912c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: "Checkout HPCombi repo . . ."
uses: actions/checkout@v3
- name: "Setup compiler (gcc, version >= 12) . . ."
if: ${{ matrix.sys.compiler == 'gcc' && matrix.sys.version >= '12'}}
if: ${{ matrix.sys.compiler == 'gcc' && fromJSON(matrix.sys.version) >= fromJSON('12')}}
run: |
GCC_VERSION=${{ matrix.sys.version }}
sudo apt-get --yes update
Expand All @@ -40,7 +40,7 @@ jobs:
CXX=g++-$GCC_VERSION
echo "CXX=$CXX" >> $GITHUB_ENV
- name: "Setup compiler (gcc, version < 12) . . ."
if: ${{ matrix.sys.compiler == 'gcc' && matrix.sys.version < '12'}}
if: ${{ matrix.sys.compiler == 'gcc' && fromJSON(matrix.sys.version) < fromJSON('12')}}
run: |
GCC_VERSION=${{ matrix.sys.version }}
brew install gcc@$GCC_VERSION
Expand Down

0 comments on commit a9912c2

Please sign in to comment.