Skip to content

Commit 58b6d02

Browse files
committed
Fix GitHub CI checkout and Yices pin
1 parent c5ff1f1 commit 58b6d02

File tree

2 files changed

+47
-12
lines changed

2 files changed

+47
-12
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ permissions:
88
contents: read
99

1010
env:
11-
YICES_REF: 016a6243de768046f4fba6f88a8659ce1a18d261
11+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
12+
YICES_REF: yices-2.7.0
1213

1314
jobs:
1415
unix:
@@ -22,17 +23,33 @@ jobs:
2223
- macos-latest
2324

2425
steps:
25-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2627

2728
- name: Checkout Yices
28-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
2930
with:
3031
repository: SRI-CSL/yices2
3132
ref: ${{ env.YICES_REF }}
32-
path: yices2
33+
path: y2
34+
fetch-depth: 1
35+
sparse-checkout: |
36+
Makefile
37+
Makefile.build
38+
configure
39+
configure.ac
40+
config.guess
41+
config.sub
42+
install-sh
43+
make.include.in
44+
autoconf
45+
configs
46+
scripts
47+
src
48+
utils
49+
sparse-checkout-cone-mode: false
3350

3451
- name: Set up Java
35-
uses: actions/setup-java@v4
52+
uses: actions/setup-java@v5
3653
with:
3754
distribution: temurin
3855
java-version: "17"
@@ -52,7 +69,7 @@ jobs:
5269
5370
- name: Build and test
5471
env:
55-
YICES_SRC: ${{ github.workspace }}/yices2
72+
YICES_SRC: ${{ github.workspace }}/y2
5673
YICES_PREFIX: ${{ runner.temp }}/yices-install
5774
run: bash scripts/ci-build-test-unix.sh
5875

@@ -61,19 +78,37 @@ jobs:
6178
runs-on: windows-latest
6279

6380
steps:
81+
- run: git config --system core.longpaths true
82+
6483
- run: git config --global core.autocrlf false && git config --global core.eol lf
6584

66-
- uses: actions/checkout@v4
85+
- uses: actions/checkout@v5
6786

6887
- name: Checkout Yices
69-
uses: actions/checkout@v4
88+
uses: actions/checkout@v5
7089
with:
7190
repository: SRI-CSL/yices2
7291
ref: ${{ env.YICES_REF }}
73-
path: yices2
92+
path: y2
93+
fetch-depth: 1
94+
sparse-checkout: |
95+
Makefile
96+
Makefile.build
97+
configure
98+
configure.ac
99+
config.guess
100+
config.sub
101+
install-sh
102+
make.include.in
103+
autoconf
104+
configs
105+
scripts
106+
src
107+
utils
108+
sparse-checkout-cone-mode: false
74109

75110
- name: Set up Java
76-
uses: actions/setup-java@v4
111+
uses: actions/setup-java@v5
77112
with:
78113
distribution: temurin
79114
java-version: "17"
@@ -104,6 +139,6 @@ jobs:
104139
shell: bash
105140
env:
106141
CYGWIN: winsymlinks:native binmode
107-
YICES_SRC: ${{ github.workspace }}/yices2
142+
YICES_SRC: ${{ github.workspace }}/y2
108143
YICES_PREFIX: /tmp/yices-install
109144
run: bash scripts/ci-build-test-windows.sh

scripts/ci-build-test-unix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ build_yices() {
2929
mkdir -p "${YICES_PREFIX}"
3030
pushd "${YICES_SRC}" >/dev/null
3131
autoconf
32-
./configure --prefix="${YICES_PREFIX}" --enable-thread-safety
32+
./configure --prefix="${YICES_PREFIX}" --enable-thread-safety --disable-mcsat
3333
make MODE=release
3434
make MODE=release install
3535
popd >/dev/null

0 commit comments

Comments
 (0)