ci: fix prebuilt.yml (#7956)
parent
5d1d68ffea
commit
ab8fd063b6
|
@ -11,12 +11,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install --quiet -y postgresql libpq-dev libglfw3 libglfw3-dev libfreetype6-dev libssl-dev sqlite3 libsqlite3-dev valgrind
|
sudo apt-get install --quiet -y postgresql libpq-dev libglfw3 libglfw3-dev libfreetype6-dev libssl-dev sqlite3 libsqlite3-dev valgrind
|
||||||
## sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
|
## sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
|
||||||
- name: Download V
|
- name: Download V
|
||||||
run: |
|
run: |
|
||||||
tag=${GITHUB_REF##*/}
|
tag=${GITHUB_REF##*/}
|
||||||
wget https://github.com/vlang/v/releases/download/$tag/v_linux.zip
|
wget https://github.com/vlang/v/releases/download/$tag/v_linux.zip
|
||||||
unzip v_linux.zip
|
unzip v_linux.zip
|
||||||
|
cd v
|
||||||
./v -version
|
./v -version
|
||||||
- name: Test V
|
- name: Test V
|
||||||
run: |
|
run: |
|
||||||
|
@ -36,6 +37,7 @@ jobs:
|
||||||
tag=${GITHUB_REF##*/}
|
tag=${GITHUB_REF##*/}
|
||||||
wget https://github.com/vlang/v/releases/download/$tag/v_macos.zip
|
wget https://github.com/vlang/v/releases/download/$tag/v_macos.zip
|
||||||
unzip v_macos.zip
|
unzip v_macos.zip
|
||||||
|
cd v
|
||||||
./v -version
|
./v -version
|
||||||
- name: Test V
|
- name: Test V
|
||||||
run: |
|
run: |
|
||||||
|
@ -50,6 +52,7 @@ jobs:
|
||||||
Set-Variable -Name "tag" -Value $env:GITHUB_REF.split("/", 3)[-1]
|
Set-Variable -Name "tag" -Value $env:GITHUB_REF.split("/", 3)[-1]
|
||||||
& curl -L https://github.com/vlang/v/releases/download/$tag/v_windows.zip -o v_windows.zip
|
& curl -L https://github.com/vlang/v/releases/download/$tag/v_windows.zip -o v_windows.zip
|
||||||
& unzip .\v_windows.zip
|
& unzip .\v_windows.zip
|
||||||
|
& cd v
|
||||||
& .\v.exe -version
|
& .\v.exe -version
|
||||||
- name: Test V
|
- name: Test V
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue