@@ -62,14 +62,14 @@ jobs:
62
62
# by the other jobs already present in `pull-request-checks.yaml`.
63
63
- name : Run Rust API tests
64
64
run : |
65
- VERSION=$(cat src/config.inc | python3 -c "import sys,re;line = [line for line in sys.stdin if re.search('CBMC_VERSION = (\d+\.\d+\.\d+)', line)];sys.stdout.write(re.search('CBMC_VERSION = (\d+\.\d+\.\d+)', line[0]).group(1))")
65
+ VERSION=$(cat src/config.inc | python3 -c "import sys,re;line = [line for line in sys.stdin if re.search(r 'CBMC_VERSION = (\d+\.\d+\.\d+)', line)];sys.stdout.write(re.search(r 'CBMC_VERSION = (\d+\.\d+\.\d+)', line[0]).group(1))")
66
66
cd src/libcprover-rust;\
67
67
cargo clean;\
68
68
CBMC_INCLUDE_DIR=../../${{env.default_include_dir}} CBMC_LIB_DIR=../../${{env.default_build_dir}}/lib CBMC_VERSION=$VERSION cargo test -- --test-threads=1
69
69
70
70
71
- check-macos-12 -cmake-clang-rust :
72
- runs-on : macos-12
71
+ check-macos-13 -cmake-clang-rust :
72
+ runs-on : macos-13
73
73
steps :
74
74
- uses : actions/checkout@v3
75
75
with :
@@ -82,10 +82,10 @@ jobs:
82
82
uses : actions/cache@v3
83
83
with :
84
84
path : .ccache
85
- key : ${{ runner.os }}-Release-${{ github.ref }}-${{ github.sha }}-PR-Rust-API
85
+ key : ${{ runner.os }}-Release-Minisat- ${{ github.ref }}-${{ github.sha }}-PR-Rust-API
86
86
restore-keys : |
87
- ${{ runner.os }}-Release-${{ github.ref }}
88
- ${{ runner.os }}-Release
87
+ ${{ runner.os }}-Release-Minisat- ${{ github.ref }}
88
+ ${{ runner.os }}-Release-Minisat
89
89
- name : ccache environment
90
90
run : |
91
91
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
@@ -102,7 +102,8 @@ jobs:
102
102
# by the other jobs already present in `pull-request-checks.yaml`.
103
103
- name : Run Rust API tests
104
104
run : |
105
- VERSION=$(cat src/config.inc | python3 -c "import sys,re;line = [line for line in sys.stdin if re.search('CBMC_VERSION = (\d+\.\d+\.\d+)', line)];sys.stdout.write(re.search('CBMC_VERSION = (\d+\.\d+\.\d+)', line[0]).group(1))")
105
+ export MACOSX_DEPLOYMENT_TARGET=10.15
106
+ VERSION=$(cat src/config.inc | python3 -c "import sys,re;line = [line for line in sys.stdin if re.search(r'CBMC_VERSION = (\d+\.\d+\.\d+)', line)];sys.stdout.write(re.search(r'CBMC_VERSION = (\d+\.\d+\.\d+)', line[0]).group(1))")
106
107
cd src/libcprover-rust;\
107
108
cargo clean;\
108
109
CBMC_INCLUDE_DIR=../../${{env.default_include_dir}} CBMC_LIB_DIR=../../${{env.default_build_dir}}/lib CBMC_VERSION=$VERSION cargo test -- --test-threads=1
0 commit comments