forked from bitcoin-core/secp256k1
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 937 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
pull_request:
push:
branches:
- '**'
tags-ignore:
- '**'
concurrency:
group: ${{ github.event_name != 'pull_request' && github.run_id || github.ref }}
cancel-in-progress: true
jobs:
x86_64-macos-native:
name: "x86_64: macOS Ventura, Xcode 14.2, Valgrind"
# See: https://github.com/actions/runner-images#available-images.
runs-on: macos-13
env:
CC: 'clang'
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Xcode version
run: |
sudo xcode-select --switch /Applications/Xcode_14.2.app
xcodebuild -version
clang --version
- name: Install and cache Valgrind
uses: ./.github/actions/install-homebrew-valgrind
- name: Run valgrind
run: |
which bash
valgrind bash -c 'echo Hello'