Skip to content

Commit feee6b4

Browse files
committed
ci: build vfox from source
1 parent 0b72751 commit feee6b4

4 files changed

Lines changed: 26 additions & 10 deletions

File tree

.github/workflows/e2e_test_darwin.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22-
- name: install vfox (MacOS)
23-
if: runner.os == 'MacOS'
22+
- uses: actions/setup-go@v5
23+
with:
24+
go-version: '^1.24.2' # The Go version to download (if necessary) and use.
25+
26+
- name: build vfox (MacOS)
2427
run: |
25-
brew tap version-fox/tap
26-
brew install vfox@0.6.4
28+
git clone https://github.com/version-fox/vfox.git
29+
cd vfox
30+
go build -o vfox
31+
chmod +x vfox
32+
cp vfox /usr/local/bin
2733
2834
- name: add vfox-erlang plugin (Unix-like)
2935
run: |

.github/workflows/e2e_test_linux.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22-
- name: install vfox (Linux)
22+
- uses: actions/setup-go@v5
23+
with:
24+
go-version: '^1.24.2' # The Go version to download (if necessary) and use.
25+
26+
- name: build vfox (Linux)
2327
run: |
24-
echo "deb [trusted=yes] https://apt.fury.io/versionfox/ /" | sudo tee /etc/apt/sources.list.d/versionfox.list
25-
sudo apt-get update
26-
sudo apt-get install vfox=0.6.4
28+
git clone https://github.com/version-fox/vfox.git
29+
cd vfox
30+
go build -o vfox
31+
chmod +x vfox
32+
cp vfox /usr/local/bin
2733
2834
- name: add vfox-erlang plugin (Unix-like)
2935
run: |

.github/workflows/e2e_test_linux_prebuilt.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22+
- uses: actions/setup-go@v5
23+
with:
24+
go-version: '^1.24.2' # The Go version to download (if necessary) and use.
25+
2226
- name: build vfox (Linux)
2327
run: |
2428
git clone https://github.com/version-fox/vfox.git

.github/workflows/e2e_test_windows.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: E2E tests on Windows
22

33
on:
4-
# push:
5-
# branches: [main]
4+
push:
5+
branches: [main]
66
pull_request:
77
workflow_dispatch:
88
schedule:

0 commit comments

Comments
 (0)