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+ steps :
29+ - uses : actions/checkout@v4
30+ - run : |
31+ set -x
32+ python -m pip install --user cookiecutter
33+
34+ pushd "$(mktemp -d)"
35+ cookiecutter \
36+ --no-input \
37+ "${OLDPWD}" \
38+ plugin_name=MyPlugin \
39+ author="Nathan Henrie" \
40+ description="test plugin for CI"
41+
42+ pushd QSMyNewPlugin
43+
44+ xcodebuild -scheme QSMyPlugin build
45+ xcodebuild -scheme QSMyPlugin test
You can’t perform that action at this time.
0 commit comments