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+ #! /bin/bash
2+
3+ ARCH=" "
4+
5+ if [ $1 = " arm" ]
6+ then
7+ ARCH=" arm64"
8+ else
9+ ARCH=" x86_64"
10+ fi
11+
12+ echo " Building with arch: ${ARCH} "
13+
14+ export LC_CTYPE=en_US.UTF-8
15+
16+ set -o pipefail && arch -" ${ARCH} " xcodebuild \
17+ -scheme CodeEditLanguages \
18+ -derivedDataPath " .build" \
19+ -destination " platform=macos,arch=${ARCH} " \
20+ clean test | xcpretty
Original file line number Diff line number Diff line change 1+ name : tests
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+ paths :
7+ - ' Sources/**'
8+ - ' Tests/**'
9+ pull_request :
10+ branches :
11+ - ' main'
12+ jobs :
13+ code-edit-text-view-tests :
14+ name : Testing CodeEditLanguages
15+ runs-on : macos-12
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v1
19+ - name : Make executeable
20+ run : chmod +x ./.github/scripts/tests.sh
21+ - name : Testing Package
22+ run : exec ./.github/scripts/tests.sh
You can’t perform that action at this time.
0 commit comments