From bfcfa969732d868436263ce91749de72e63224dc Mon Sep 17 00:00:00 2001 From: Kulesha Roman Date: Fri, 6 Nov 2020 13:29:05 +0300 Subject: [PATCH] Add test workflow --- .github/workflows/test.yml | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f7a3d0f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,51 @@ +name: test +on: + push: + paths-ignore: + - "**.md" +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + unity-version: + - 2018.4.1f1 + - 2019.4.1f1 + - 2020.1.0f1 + - 2020.2.0b10 + - 2021.1.0a4 + unity-module: + - android + - ios + - appletv + - mac-il2cpp + - windows + - windows-mono + - webgl + - facebook-games + exclude: + - os: macos-latest + unity-module: android + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Check free space + run: df -h + - name: Setup unity + id: setup-unity + uses: ./ + timeout-minutes: 30 + with: + unity-version: ${{ matrix.unity-version }} + unity-modules: ${{ matrix.unity-module }} + - name: Check free space + run: df -h + - name: Print output + run: | + echo unity-version: ${{ steps.setup-unity.outputs.unity-version }} + echo unity-path: ${{ steps.setup-unity.outputs.unity-path }} + echo env UNITY_PATH: ${{ env.UNITY_PATH }}