@@ -62,14 +62,14 @@ jobs:
6262 # by the other jobs already present in `pull-request-checks.yaml`.
6363 - name : Run Rust API tests
6464 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))")
6666 cd src/libcprover-rust;\
6767 cargo clean;\
6868 CBMC_INCLUDE_DIR=../../${{env.default_include_dir}} CBMC_LIB_DIR=../../${{env.default_build_dir}}/lib CBMC_VERSION=$VERSION cargo test -- --test-threads=1
6969
7070
71- check-macos-12 -cmake-clang-rust :
72- runs-on : macos-12
71+ check-macos-13 -cmake-clang-rust :
72+ runs-on : macos-13
7373 steps :
7474 - uses : actions/checkout@v3
7575 with :
@@ -82,10 +82,10 @@ jobs:
8282 uses : actions/cache@v3
8383 with :
8484 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
8686 restore-keys : |
87- ${{ runner.os }}-Release-${{ github.ref }}
88- ${{ runner.os }}-Release
87+ ${{ runner.os }}-Release-Minisat- ${{ github.ref }}
88+ ${{ runner.os }}-Release-Minisat
8989 - name : ccache environment
9090 run : |
9191 echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
@@ -102,7 +102,8 @@ jobs:
102102 # by the other jobs already present in `pull-request-checks.yaml`.
103103 - name : Run Rust API tests
104104 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))")
106107 cd src/libcprover-rust;\
107108 cargo clean;\
108109 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