-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (47 loc) · 1.2 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: main
on:
push:
pull_request:
schedule:
- cron: "0 0 * * 0"
jobs:
# cygwin:
# runs-on: windows-latest
# steps:
# - run: git config --global core.autocrlf input
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: "3.x"
# - uses: cygwin/cygwin-install-action@master
# - run: python plano test --verbose
fedora:
runs-on: ubuntu-latest
container: fedora:latest
steps:
- uses: actions/checkout@v3
- run: dnf -y install busybox curl dash ksh mksh nc python /bin/ps sudo tar yash zsh
- run: cd /usr/bin && ln -s busybox ash
- run: ./plano test
env:
PLANO_COLOR: 1
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- run: ./plano test
env:
PLANO_COLOR: 1
ubuntu:
runs-on: ubuntu-latest
container: ubuntu:latest
steps:
- uses: actions/checkout@v3
- run: apt-get -qq update
- run: apt-get -qq install curl netcat-openbsd python3 sudo
- run: ./plano test
env:
PLANO_COLOR: 1