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

47 lines
884 B
YAML
Raw Normal View History

2022-07-18 04:41:44 +01:00
name: CI
on: [push, pull_request]
jobs:
test_linux:
runs-on: ubuntu-latest
steps:
2022-07-18 04:53:19 +01:00
- uses: actions/checkout@v3
2022-07-18 04:41:44 +01:00
- name: Setup environment
2022-07-18 04:51:09 +01:00
uses: ./.github/actions/env
2022-07-18 04:41:44 +01:00
2022-07-18 05:14:15 +01:00
- name: Test
2022-07-18 05:18:09 +01:00
run: cat ./aftman.toml
2022-07-18 05:14:15 +01:00
2022-07-18 04:41:44 +01:00
- name: Run setup-aftman
2022-07-18 04:53:19 +01:00
uses: ./
2022-07-18 04:41:44 +01:00
with:
token: ${{ secrets.GITHUB_TOKEN }}
test_mac:
runs-on: macos-latest
steps:
2022-07-18 04:53:19 +01:00
- uses: actions/checkout@v3
2022-07-18 04:41:44 +01:00
- name: Setup environment
2022-07-18 04:51:09 +01:00
uses: ./.github/actions/env
2022-07-18 04:41:44 +01:00
- name: Run setup-aftman
2022-07-18 04:53:19 +01:00
uses: ./
2022-07-18 04:41:44 +01:00
with:
token: ${{ secrets.GITHUB_TOKEN }}
test_windows:
runs-on: windows-latest
steps:
2022-07-18 04:53:19 +01:00
- uses: actions/checkout@v3
2022-07-18 04:41:44 +01:00
- name: Setup environment
2022-07-18 04:51:09 +01:00
uses: ./.github/actions/env
2022-07-18 04:41:44 +01:00
- name: Run setup-aftman
2022-07-18 04:53:19 +01:00
uses: ./
2022-07-18 04:41:44 +01:00
with:
token: ${{ secrets.GITHUB_TOKEN }}