mirror of
https://github.com/ineedbots/t6_bot_warfare.git
synced 2025-05-13 15:34:53 +00:00
test update workflow
This commit is contained in:
parent
34ad334388
commit
0c382cb390
55
.github/workflows/test.yml
vendored
55
.github/workflows/test.yml
vendored
@ -3,18 +3,53 @@ name: test
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test-win:
|
||||||
strategy:
|
name: Test on Windows
|
||||||
matrix:
|
runs-on: windows-latest
|
||||||
os: [ubuntu-latest]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@main
|
- name: Check out files
|
||||||
|
uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Setup gsc-tool
|
- name: Setup gsc-tool
|
||||||
uses: diamante0018/setup-gsc-tool@main
|
uses: ./
|
||||||
|
with:
|
||||||
|
version: "1.2.0"
|
||||||
|
|
||||||
- name: Compile script
|
- name: Compile test script
|
||||||
run: 'gsc-tool comp t6 pc .'
|
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 .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user