Skip to content

CI on Push and Pull Request #188

CI on Push and Pull Request

CI on Push and Pull Request #188

Workflow file for this run

name: CI on Push and Pull Request
on: [push, pull_request]
jobs:
Practice:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: Show what's in the directory
run: |
ls
- name: Show what all is in the parent directory
run: |
cd ..
ls
Android:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Android Build
run: |
cd source
cd LiLo.Lite
nuget restore
sudo purge
cd LiLo.Lite.Android
msbuild LiLo.Lite.Android.csproj /verbosity:normal /t:Rebuild /p:Configuration=Debug
iOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set default Xamarin SDK versions
run: |
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=14.10
- name: Set default Xcode 12.3
run: |
XCODE_ROOT=/Applications/Xcode_12.5.1.app
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
sudo xcode-select -switch $XCODE_ROOT
- name: Setup .NET Core SDK 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Install dependencies
run: |
cd source
cd LiLo.Lite
nuget restore LiLo.Lite.sln
- name: iOS Build
run: |
cd source
cd LiLo.Lite
nuget restore
sudo purge
cd LiLo.Lite.iOS
msbuild LiLo.Lite.iOS.csproj /verbosity:normal /t:Rebuild /p:Platform=iPhoneSimulator /p:Configuration=Debug