Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/e2e_test_darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: install vfox (MacOS)
if: runner.os == 'MacOS'
- uses: actions/setup-go@v5
with:
go-version: '^1.24.2' # The Go version to download (if necessary) and use.

- name: build vfox (MacOS)
run: |
brew tap version-fox/tap
brew install vfox@0.6.4
git clone https://github.com/version-fox/vfox.git
cd vfox
go build -o vfox
chmod +x vfox
cp vfox /usr/local/bin

- name: add vfox-erlang plugin (Unix-like)
run: |
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/e2e_test_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: install vfox (Linux)
- uses: actions/setup-go@v5
with:
go-version: '^1.24.2' # The Go version to download (if necessary) and use.

- name: build vfox (Linux)
run: |
echo "deb [trusted=yes] https://apt.fury.io/versionfox/ /" | sudo tee /etc/apt/sources.list.d/versionfox.list
sudo apt-get update
sudo apt-get install vfox=0.6.4
git clone https://github.com/version-fox/vfox.git
cd vfox
go build -o vfox
chmod +x vfox
cp vfox /usr/local/bin

- name: add vfox-erlang plugin (Unix-like)
run: |
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/e2e_test_linux_prebuilt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: E2E tests on Linux (Prebuilt release)

on:
push:
branches: [main]
# branches: [main]
pull_request:
workflow_dispatch:
schedule:
Expand All @@ -19,14 +19,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: install vfox (Linux)
- uses: actions/setup-go@v5
with:
go-version: '^1.24.2' # The Go version to download (if necessary) and use.

- name: build vfox (Linux)
run: |
echo "deb [trusted=yes] https://apt.fury.io/versionfox/ /" | sudo tee /etc/apt/sources.list.d/versionfox.list
sudo apt-get update
sudo apt-get install vfox=0.6.4
git clone https://github.com/version-fox/vfox.git
cd vfox
go build -o vfox
chmod +x vfox
cp vfox /usr/local/bin

- name: add vfox-erlang plugin (Unix-like)
run: |
vfox -version
vfox add --source https://github.com/version-fox/vfox-erlang/archive/${GITHUB_REF}.zip erlang

- name: prepare Erlang/OTP deps (Linux)
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/e2e_test_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: install scoop (Windows)
if: runner.os == 'Windows'
uses: MinoruSekine/setup-scoop@v3
- uses: actions/setup-go@v5
with:
go-version: '^1.24.2' # The Go version to download (if necessary) and use.

- name: install vfox (Windows)
if: runner.os == 'Windows'
- name: build vfox (Windows)
run: |
scoop install vfox@0.6.4
git clone https://github.com/version-fox/vfox.git
cd vfox
go build -o vfox.exe
echo "$pwd" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
./vfox.exe -version

- name: add vfox-erlang plugin (Windows)
if: runner.os == 'Windows'
Expand Down
Loading