-
Notifications
You must be signed in to change notification settings - Fork 38
52 lines (51 loc) · 1.41 KB
/
Copy pathbuild.yml
File metadata and controls
52 lines (51 loc) · 1.41 KB
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
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, macos-26]
include:
- os: macos-latest
- os: macos-26
steps:
- uses: actions/checkout@v7
with:
ref: ${{ github.ref }}
- name: Report available Python architecture(s)
run: file `which python3`
- name: Create venv to isolate Python dependencies
run: |
python3 -m venv wailvenv
source wailvenv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Build
run: sh ./bundledApps/MAKEFILE.sh -q
- name: Install screenshot utility
run: python3 -m pip install screenshot
- name: Run
working-directory: /Applications
run: |
pwd
ls
sleep 10
open -a /Applications/WAIL.app
sleep 10
ps -A | grep WAIL
- name: Iterate tabs, taking screenshot
env:
KEYCODES: 29 18 19 20 21
run: |
for k in $KEYCODES; do
osascript tests/changeTabs.scpt $k
screenshot WAIL --filename wail-${{matrix.os}}-$k.png --shadow
done
- name: Upload screenshot
uses: actions/upload-artifact@v7
with:
name: wail-screenshot-${{matrix.os}}
path: wail-${{matrix.os}}*.png
- name: Download artifact
uses: actions/download-artifact@v8
with:
name: wail-screenshot-${{matrix.os}}