setup-rokit/.github/workflows/CI.yml

66 lines
1.2 KiB
YAML
Raw Normal View History

2022-07-18 04:41:44 +01:00
name: CI
2022-07-18 17:38:06 +01:00
on:
2022-07-18 21:05:42 +01:00
workflow_dispatch:
2022-07-18 17:40:16 +01:00
push:
2022-07-18 17:38:06 +01:00
paths:
- '**.yml'
2022-07-18 17:40:16 +01:00
pull_request:
paths:
- '**.yml'
2022-07-18 17:20:56 +01:00
defaults:
run:
shell: bash
2022-07-18 04:41:44 +01:00
jobs:
2022-08-17 02:18:04 +01:00
test_linux:
2022-07-18 04:41:44 +01:00
runs-on: ubuntu-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 04:41:44 +01:00
2022-08-17 02:18:04 +01:00
test_mac:
2022-07-18 04:41:44 +01:00
runs-on: macos-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 04:41:44 +01:00
2022-08-17 02:18:04 +01:00
test_windows:
2022-07-18 17:07:51 +01:00
runs-on: windows-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 04:53:19 +01:00
2022-07-18 17:07:51 +01:00
test_linux_version_and_path:
runs-on: ubuntu-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:09:17 +01:00
- run: mkdir project
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 17:07:51 +01:00
with:
2022-08-17 05:06:18 +01:00
version: v0.2.6
2022-07-18 17:07:51 +01:00
path: "./project"
2022-07-18 04:41:44 +01:00
2022-07-18 17:07:51 +01:00
test_mac_version_and_path:
runs-on: macos-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:09:17 +01:00
- run: mkdir project
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 04:41:44 +01:00
with:
2022-08-17 05:06:18 +01:00
version: v0.2.6
2022-07-18 17:07:51 +01:00
path: "./project"
test_windows_version_and_path:
runs-on: windows-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:09:17 +01:00
- run: mkdir project
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 17:07:51 +01:00
with:
2022-08-17 05:06:18 +01:00
version: v0.2.6
2022-07-18 17:07:51 +01:00
path: "./project"