Skip to content

Commit a01c476

Browse files
committed
fix: build vfox from source
1 parent d749e82 commit a01c476

2 files changed

Lines changed: 18 additions & 14 deletions

File tree

.github/workflows/e2e_test_linux_prebuilt.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: E2E tests on Linux (Prebuilt release)
22

3-
on:
4-
push:
5-
pull_request:
6-
workflow_dispatch:
7-
schedule:
8-
# Runs at 12am UTC
9-
- cron: '0 0 * * *'
3+
# on:
4+
# push:
5+
# pull_request:
6+
# workflow_dispatch:
7+
# schedule:
8+
# # Runs at 12am UTC
9+
# - cron: '0 0 * * *'
1010

1111
jobs:
1212
e2e_tests:

.github/workflows/e2e_test_windows.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,17 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: install scoop (Windows)
22-
if: runner.os == 'Windows'
23-
uses: MinoruSekine/setup-scoop@v3
24-
25-
- name: install vfox (Windows)
26-
if: runner.os == 'Windows'
21+
- uses: actions/setup-go@v5
22+
with:
23+
go-version: '^1.24.2' # The Go version to download (if necessary) and use.
24+
25+
- name: build vfox (Windows)
2726
run: |
28-
scoop install vfox
27+
git clone https://github.com/version-fox/vfox.git
28+
cd vfox
29+
go build -o vfox.exe
30+
echo "$pwd" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
31+
vfox -version
2932
3033
- name: add vfox-erlang plugin (Windows)
3134
if: runner.os == 'Windows'
@@ -38,6 +41,7 @@ jobs:
3841
vfox install erlang@25.3.2.12
3942
if (-not (Test-Path -Path $PROFILE)) { New-Item -Type File -Path $PROFILE -Force }; Add-Content -Path $PROFILE -Value 'Invoke-Expression "$(vfox activate pwsh)"'
4043
# vfox activate pwsh | Out-File -FilePath vfox_env.ps1
44+
4145
- name: test installation
4246
if: runner.os == 'Windows'
4347
shell: powershell -Command "&'$PROFILE'; . '{0}'"

0 commit comments

Comments
 (0)