-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1.05 KB
/
scimax-windows.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
name: scimax-windows
on:
push:
branches:
- main
# paths:
# - "Formula/scimax.rb"
jobs:
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v3
- uses: Vampire/setup-wsl@v2
with:
wsl-shell-user: linuxbrew
- shell: wsl-bash -u root {0}
run: |
whoami
apt update && apt-get install --yes build-essential curl file git
- shell: wsl-bash -u linuxbrew {0}
run : |
whoami
which curl
which git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
brew doctor
echo "Done with brew install"
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --head --verbose --formula ./Formula/scimax.rb
echo "Done with scimax install"