-
Notifications
You must be signed in to change notification settings - Fork 0
161 lines (146 loc) · 4.64 KB
/
main.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
name: dotfiles
on: [push, pull_request]
jobs:
parameter-checks-build:
name: Testing install with parameters in Ubuntu latest
runs-on: ubuntu-latest
env:
GITHUB: true
steps:
- uses: actions/checkout@v2
- name: OS update
run: |
sudo apt-get update --fix-missing
sudo apt-get upgrade -y
- name: OS Info
run: |
sudo apt-get install -y wget
wget https://raw.githubusercontent.com/dylanaraps/neofetch/master/neofetch && chmod +x ./neofetch && ./neofetch
- name: Install dependencies
run: |
sudo apt-get install -y curl git shellcheck python3-setuptools python-setuptools python3-pip
- name: Full install
run: |
./install.sh --verbose --portables
./install.sh --verbose --bin
./install.sh --verbose --shell --shell_scripts --shell_frameworks=bash
./install.sh --verbose --emacs
./install.sh --verbose --python=3
./install.sh --verbose --neovim dev
./install.sh --verbose --git
- name: Full force install
run: |
sudo ./install.sh --force --packages
linux-standalone:
name: Testing standalone script installation in Ubuntu latest
runs-on: ubuntu-latest
env:
GITHUB: true
steps:
- name: OS Info
run: |
sudo apt install -y wget
wget https://raw.githubusercontent.com/dylanaraps/neofetch/master/neofetch && chmod +x ./neofetch && ./neofetch
- name: OS update
run: |
sudo apt update --fix-missing
sudo apt upgrade -y
- name: Install dependencies
run: |
sudo apt install -y wget curl git shellcheck python3-setuptools python-setuptools
sudo apt install -y python3-pip
sudo pip3 install --upgrade pip
pip3 --version
- name: Fetch script
run: |
wget https://raw.githubusercontent.com/Mike325/dotfiles/master/install.sh
chmod +x ./install.sh
- name: Full install
run: |
./install.sh --verbose
linux-build:
name: Testing install script in ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, ubuntu-20.04, ubuntu-22.04 ]
env:
GITHUB: true
steps:
- uses: actions/checkout@v2
- name: OS Info
run: |
sudo apt install -y wget
wget https://raw.githubusercontent.com/dylanaraps/neofetch/master/neofetch && chmod +x ./neofetch && ./neofetch
- name: OS update
run: |
sudo apt update --fix-missing
sudo apt upgrade -y
- name: Install dependencies
run: |
sudo apt install -y curl git shellcheck python3-setuptools python-setuptools
sudo apt install -y python3-pip
sudo pip3 install --upgrade pip
pip3 --version
- name: Full install
run: |
./install.sh --verbose
- name: Full force install
run: |
./install.sh --verbose --force
- name: Packages install
run: |
sudo ./install.sh --verbose --packages --only
osx-build:
name: Testing install script in ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macOS-latest, macos-11, macos-12 ]
env:
GITHUB: true
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
brew install shellcheck
- name: Full install
run: |
./install.sh --verbose
- name: Full force install
run: |
./install.sh --verbose --force
windows-build:
name: Testing install script in ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, windows-2022, windows-2019 ]
env:
GITHUB: true
steps:
- uses: actions/checkout@v2
# - name: Enable Chocolatey and Scoop
# shell: powershell
# run: |
# # ./init.ps1
# Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
# $env:PATH = "$env:USERPROFILE\.local\bin;$env:PATH"
# $env:PATH = "$env:APPDATA\Neovim\bin;$env:PATH"
- name: Install dependencies
shell: bash
run: |
choco install curl -y
# scoop install curl
- name: Full install
shell: bash
run: |
./install.sh --verbose
- name: Force install
shell: bash
run: |
./install.sh --verbose --force
- name: Packages install
shell: bash
run: |
./install.sh --verbose --packages scoop --only