Removing some unnecessary commits from this PR.

Adding newline to fix diff.

Update tests.yml

Update tests.yml

See rive.make

Attempt using a pre-generate makefile.

Update tests.yml

Remove windows make

One more windows test.

Make with verbose.

Trying verbose ar.exe

Retry

Make without parallel

More debug

Trying to fix this wsl issue

Seeing which version of make we have on github actions

Use an instance of the artboard for SMI test

Attempt wsl

Attempt wsl

install unzip

Again..

try to get unzip

add to path instead of github_path with wsl

just move premake to bin

use correct filename for premake

use crlf

Back to crlf

space

Attempt using just powershell

premake with powershell

call msbuild

add msbuild to path

Proper msbuild config

more args

Build rive tests

use right solution name

Use any cpu for tests

remove the config and platform

Update tests for windows

LS right dir

look for exe

Tests!

Add “b” so windows reads in binary mode

More “rb” fixes

Final “rb” fix!
This commit is contained in:
Luigi Rosso
2022-04-03 17:53:21 -07:00
committed by Michael Reed
parent 6cb934e983
commit 56a2cc55bb
9 changed files with 91 additions and 227 deletions

View File

@@ -13,7 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install
run: |
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha16/premake-5.0.0-alpha16-linux.tar.gz
@@ -23,6 +22,7 @@ jobs:
- name: Build
run: |
./build.sh clean
./build.sh
./build.sh release
@@ -35,35 +35,31 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
# Using wget from powershell take no time (using choco to install it takes 1-2 minutes)
- name: Download Premake5
- name: Download Premake
shell: powershell
run: |
echo GITHUB_WORKSPACE is ${{ github.workspace }}
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha16/premake-5.0.0-alpha16-windows.zip -OutFile ${{ github.workspace }}/premake-5.0.0-alpha16-windows.zip
wget https://github.com/premake/premake-core/releases/download/v5.0.0-beta1/premake-5.0.0-beta1-windows.zip -OutFile ${{ github.workspace }}\premake-5.0.0-beta1-windows.zip
Expand-Archive -LiteralPath ${{ github.workspace }}\premake-5.0.0-beta1-windows.zip -DestinationPath C:\
- name: Install
shell: bash # mingw
- name: Build rive.lib
shell: powershell
run: |
unzip premake-5.0.0-alpha16-windows.zip
chmod a+x premake5.exe
mkdir -p $HOME/.local/bin
mv premake5.exe $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
cd build
C:\premake5.exe vs2022
MSBuild rive.sln /property:Configuration=Debug /property:Platform=x64
cd ..
- name: Build
shell: bash #mingw
- name: Run rive tests
shell: powershell
run: |
./build.sh
./build.sh release
# - name: Tests
# shell: bash
# run: |
# cd dev
# ./test.sh
cd dev/test
C:\premake5.exe vs2022
MSBuild rive_tests.sln
build\bin\debug\tests.exe
build-macos:
runs-on: macOS-latest