Skip to content

Commit 11eccd4

Browse files
ranjitjhalanilehmann
authored andcommitted
modify flux.yml to use nightly build
1 parent 6a81591 commit 11eccd4

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

.github/workflows/flux.yml

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
branches: [main]
99

1010
env:
11-
FIXPOINT_VERSION: "556104ba5508891c357b0bdf819ce706e93d9349"
12-
FLUX_VERSION: "e01e0cd595af33b32faf6c96b032574478c29d5c"
11+
FLUX_VERSION: "6b080b32801f923bfb590ac48e729de38f829f21"
12+
FIXPOINT_VERSION: "nightly-10-15-2025"
1313

1414
jobs:
1515
check-flux-on-core:
@@ -25,27 +25,22 @@ jobs:
2525
echo ~/.cargo/bin >> $GITHUB_PATH
2626
echo ~/.local/bin >> $GITHUB_PATH
2727
28-
- name: Cache fixpoint
29-
uses: actions/cache@v4
30-
id: cache-fixpoint
31-
with:
32-
path: ~/.local/bin/fixpoint
33-
key: fixpoint-bin-${{ runner.os }}-${{ env.FIXPOINT_VERSION }}
28+
- name: Download and install fixpoint
29+
run: |
30+
set -e
31+
NAME="fixpoint-x86_64-linux-gnu.tar.gz"
32+
URL="https://github.com/ucsd-progsys/liquid-fixpoint/releases/download/${FIXPOINT_VERSION}/${NAME}"
3433
35-
- name: Install Haskell
36-
if: steps.cache-fixpoint.outputs.cache-hit != 'true'
37-
uses: haskell-actions/[email protected]
38-
with:
39-
enable-stack: true
40-
stack-version: "2.15.7"
34+
echo "Downloading from $URL"
35+
curl -fsSL --retry 3 -o "$NAME" "$URL"
4136
42-
- name: Install fixpoint
43-
if: steps.cache-fixpoint.outputs.cache-hit != 'true'
44-
run: |
45-
git clone https://github.com/ucsd-progsys/liquid-fixpoint.git
46-
cd liquid-fixpoint
47-
git checkout $FIXPOINT_VERSION
48-
stack install --fast --flag liquid-fixpoint:-link-z3-as-a-library
37+
echo "Extracting archive"
38+
tar -xzf "$NAME"
39+
mkdir -p ~/.local/bin
40+
cp fixpoint ~/.local/bin/fixpoint
41+
42+
echo "Cleaning up"
43+
rm -f "$NAME"
4944
5045
- name: Install Z3
5146
uses: cda-tum/[email protected]

0 commit comments

Comments
 (0)