Skip to content

Commit

Permalink
a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jan 31, 2024
1 parent cab7ff4 commit f803c58
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,10 @@ jobs:
# See: https://github.com/actions/runner-images#available-images.
- name: 'x86_64: macOS Monterey, Valgrind'
runner: 'macos-12'
env_var: { WITH_VALGRIND: 'yes' }
- name: 'arm64: macOS Sonoma'
runner: 'macos-14'
env_var: { WITH_VALGRIND: 'no' }
env_vars:
- { WIDEMUL: 'int64', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
- { WIDEMUL: 'int128_struct', ECMULTGENPRECISION: 2, ECMULTWINDOW: 4 }
Expand All @@ -615,20 +617,23 @@ jobs:
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', CPPFLAGS: '-DVERIFY', CTIMETESTS: 'no' }
- BUILD: 'distcheck'

env:
WITH_VALGRIND: ${{ runner.arch == 'X64' && 'yes' || 'no' }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Architecture
run: uname -m
# - name: Architecture
# run: uname -m

- name: Install Homebrew packages
run: |
brew install automake libtool gcc
ln -s $(brew --prefix gcc)/bin/gcc-?? /usr/local/bin/gcc
- name: Install and cache Valgrind
if: ${{ env.RUNNER_ARCH == 'X64' }}
if: ${{ runner.arch == 'X64' }}
uses: ./.github/actions/install-homebrew-valgrind

- name: CI script
Expand Down

0 comments on commit f803c58

Please sign in to comment.