From 0c382cb390fd5052bf726c214248bd8adaa6778e Mon Sep 17 00:00:00 2001 From: ineed bots Date: Wed, 27 Dec 2023 19:44:11 -0600 Subject: [PATCH] test update workflow --- .github/workflows/test.yml | 55 +++++++++++++++++++++++++++++++------- 1 file changed, 45 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 411cf03..2c298bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,18 +3,53 @@ name: test on: [push] jobs: - test: - strategy: - matrix: - os: [ubuntu-latest] - - runs-on: ${{ matrix.os }} + test-win: + name: Test on Windows + runs-on: windows-latest steps: - - uses: actions/checkout@main + - name: Check out files + uses: actions/checkout@main - name: Setup gsc-tool - uses: diamante0018/setup-gsc-tool@main + uses: ./ + with: + version: "1.2.0" - - name: Compile script - run: 'gsc-tool comp t6 pc .' + - name: Compile test script + run: | + gsc-tool.exe comp t6 pc . + + test-linux: + name: Test on Linux + runs-on: ubuntu-latest + + steps: + - name: Check out files + uses: actions/checkout@main + + - name: Setup gsc-tool + uses: ./ + with: + version: "1.2.0" + + - name: Compile test script + run: | + ./gsc-tool comp t6 pc . + + test-macos: + name: Test on macOS + runs-on: macos-latest + + steps: + - name: Check out files + uses: actions/checkout@main + + - name: Setup gsc-tool + uses: ./ + with: + version: "1.2.0" + + - name: Compile test script + run: | + ./gsc-tool comp t6 pc .