File tree Expand file tree Collapse file tree 1 file changed +13
-41
lines changed
Expand file tree Collapse file tree 1 file changed +13
-41
lines changed Original file line number Diff line number Diff line change 4040 - name : Lint
4141 run : npm run lint && ./lint.sh
4242
43- test-cross-platform :
44- runs-on : ${{ matrix.os }}
45- strategy :
46- fail-fast : false
47- matrix :
48- os : [ubuntu-latest, macos-13]
49- steps :
50- - name : Check out repository code
51- uses : actions/checkout@v2
52-
53- - name : Set up Docker on macOS with Colima
54- if : runner.os == 'macOS'
55- uses : douglascamata/setup-docker-macos-action@v1
56-
57- - name : Verify Docker
58- run : docker --version
59-
60- # Special setup for macOS
61-
62- - name : Install dependencies (macOS)
63- if : runner.os == 'macOS'
64- run : |
65- brew install shellcheck yamllint
66- npm install -g npm@latest
67-
68- - name : Build Fablo
69- run : |
70- shellcheck --version && \
71- yamllint -v && \
72- npm install && \
73- npm run build && \
74- ./fablo-build.sh
75-
76- - name : Run unit tests
77- run : npm run test:unit
78-
79- - name : Lint
80- run : npm run lint
81-
82-
8343
8444 # test-k8:
8545 # needs: test-main
@@ -138,11 +98,23 @@ jobs:
13898
13999 test-02-raft :
140100 needs : test-main
141- runs-on : ubuntu-latest
101+ runs-on : macos-15
142102 steps :
143103 - name : Check out repository code
144104 uses : actions/checkout@v2
145105
106+ - name : Install Docker + Colima
107+ run : |
108+ brew update
109+ brew install qemu docker colima
110+ colima start --network-address --arch arm64 --vm-type=qemu
111+
112+ - name : Install dependencies
113+ run : |
114+ brew install shellcheck yamllint
115+ npm install -g npm@latest
116+ npm install
117+
146118 - name : Build Fablo
147119 run : |
148120 shellcheck --version && \
You can’t perform that action at this time.
0 commit comments