Skip to content

Commit

Permalink
test update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ineed bots committed Dec 28, 2023
1 parent 34ad334 commit 0c382cb
Showing 1 changed file with 44 additions and 9 deletions.
53 changes: 44 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,53 @@ name: test
on: [push]

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
test-win:
name: Test on Windows
runs-on: windows-latest

runs-on: ${{ matrix.os }}
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.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:
- 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 comp t6 pc .

0 comments on commit 0c382cb

Please sign in to comment.