Commit 8d0ee9d 1 parent 39f95f5 commit 8d0ee9d Copy full SHA for 8d0ee9d
File tree 2 files changed +17
-6
lines changed
2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# Install Homebrew and packages
4
4
5
+ if [ -n " ${CI:- } " ]; then
6
+ debugw " Skipping due to \$ CI"
7
+ return
8
+ fi
9
+
5
10
export PATH=" /opt/homebrew/bin:/usr/local/bin:/home/linuxbrew/.linuxbrew/bin${PATH+: $PATH } "
6
11
if ! has brew; then
7
12
debug " Installing Homebrew"
10
15
11
16
debug " Installing Homebrew packages"
12
17
export HOMEBREW_BUNDLE_FILE=~ /.config/brew/Brewfile
13
- if [ -n " ${CI:- } " ]; then
14
- debugw " Skipping due to \$ CI"
15
- elif ! has yadm || ! brew bundle check & > /dev/null; then
18
+ if ! has yadm || ! brew bundle check & > /dev/null; then
16
19
brew bundle install --no-lock
17
20
! has rustup || RUSTUP_HOME=~ /.local/share/rustup rustup default stable
18
21
fi
Original file line number Diff line number Diff line change @@ -36,11 +36,19 @@ jobs:
36
36
37
37
bootstrap :
38
38
runs-on : ${{ matrix.os }}-latest
39
+ container : ${{ matrix.container }}
39
40
strategy :
40
41
fail-fast : false
41
42
matrix :
42
- os : [macos, ubuntu]
43
+ # os: [macos, ubuntu]
44
+ include :
45
+ - os : macos
46
+ - os : ubuntu
47
+ - os : ubuntu
48
+ container : alpine
43
49
steps :
44
- - run : curl -Lo /usr/local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm
45
- - run : chmod a+x /usr/local/bin/yadm
50
+ # - run: curl -Lo /usr/local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm
51
+ # - run: chmod a+x /usr/local/bin/yadm
52
+ - run : apk add bash curl git
53
+ if : matrix.container == 'alpine'
46
54
- run : curl -fsSL https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/bootstrap | HOME=$PWD/tmp bash
You can’t perform that action at this time.
0 commit comments