File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ build-qs :
9+ runs-on : macos-latest
10+ steps :
11+ with :
12+ QS_SOURCE_ROOT : /tmp/git/quicksilver
13+ QS_DONT_TEST : 1
14+ CONFIGURATION : Debug
15+ run : |
16+ latest_tag=$(
17+ git ls-remote --tags --refs --sort="-v:refname" https://github.com/quicksilver/quicksilver |
18+ awk -F/ '{ print $NF; exit }'
19+ )
20+ mkdir -p "${QS_SOURCE_ROOT}"
21+ git clone --recurse-submodules --branch="${latest_tag}" --depth=1 https://github.com/quicksilver/Quicksilver.git "${QS_SOURCE_ROOT}"
22+
23+ pushd "${QS_SOURCE_ROOT}"
24+ ./Tools/qsrelease
25+ popd
26+
27+ template-plugin :
28+ runs-on : macos-latest
29+ needs : build-qs
30+ steps :
31+ - uses : actions/checkout@v4
32+ - run : |
33+ set -x
34+ python -m pip install --user cookiecutter
35+
36+ pushd "$(mktemp -d)"
37+ cookiecutter \
38+ --no-input \
39+ "${OLDPWD}" \
40+ plugin_name=MyPlugin \
41+ author="Nathan Henrie" \
42+ description="test plugin for CI"
43+
44+ pushd QSMyNewPlugin
45+
46+ xcodebuild -scheme QSMyPlugin build
47+ xcodebuild -scheme QSMyPlugin test
You can’t perform that action at this time.
0 commit comments