Skip to content

Commit 2d1ca13

Browse files
committed
Update CI.
1 parent a064eb2 commit 2d1ca13

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
run: |
1212
sudo apt-get update
1313
sudo apt-get install -y wget
14-
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-linux.tar.gz
15-
tar xvzf premake-5.0.0-alpha14-linux.tar.gz
14+
wget https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz
15+
tar xvzf premake-5.0.0-beta2-linux.tar.gz
1616
- name: Build
1717
run: |
1818
./premake5 --verbose gmake2
@@ -24,28 +24,26 @@ jobs:
2424
- uses: actions/checkout@v2
2525
- name: Install dependencies
2626
run: |
27-
brew install wget
28-
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-macosx.tar.gz
29-
tar -xzf premake-5.0.0-alpha14-macosx.tar.gz
27+
brew install premake
3028
- name: Build
3129
run: |
3230
./premake5 --verbose gmake2
33-
make -C make/macosx/ -j`nproc` all
31+
make -C make/macosx/ -j$(sysctl -n hw.ncpu) all
3432
Windows:
35-
runs-on: windows-2019
33+
runs-on: windows-latest
3634
env:
37-
MSBUILD_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\
35+
MSBUILD_PATH: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\
3836
steps:
3937
- uses: actions/checkout@v2
4038
- name: Install dependencies
4139
shell: powershell
4240
run: |
43-
Invoke-WebRequest -Uri "https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-windows.zip" -OutFile "premake-5.0.0-alpha14-windows.zip"
44-
Expand-Archive -DestinationPath . -Path premake-5.0.0-alpha14-windows.zip
41+
Invoke-WebRequest -Uri "https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-windows.zip" -OutFile "premake-5.0.0-beta2-windows.zip"
42+
Expand-Archive -DestinationPath . -Path premake-5.0.0-beta2-windows.zip
4543
- name: Create project
4644
shell: powershell
4745
run: |
48-
./premake5.exe --verbose vs2019
46+
./premake5.exe --verbose vs2022
4947
- name: Build
5048
shell: cmd
5149
run: |

0 commit comments

Comments
 (0)