This repository was archived by the owner on Jul 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -12,33 +12,33 @@ freebsd_build_task:
12
12
env :
13
13
matrix :
14
14
- abi : freebsd:11:x86:64
15
+ REPOS_DIR : .cirrus/pkg/repos
15
16
- abi : freebsd:11:x86:32
16
17
jail_name : j11i386
17
18
exec_prefix : cbsd jexec jname=j11i386
19
+ working_dir : /etc/skel
20
+ REPOS_DIR : /etc/skel/.cirrus/pkg/repos
18
21
19
22
env :
20
23
GH_API_TOKEN : ENCRYPTED[5e482f417304528148bb96eca8d030eacd6ab9972d482485fc4d42907283b995f658b351e0676e9493a37d815398f541]
21
- A pkg_latest : pkg -R "${CIRRUS_WORKING_DIR}/.cirrus/pkg/repos"
22
24
23
25
prepare_script :
24
- - $pkg_latest update -f;
26
+ - pkg update -f;
25
27
- |
26
28
if test "$abi" = "freebsd:11:x86:32"; then
27
29
$pkg_latest -y cbsd
28
30
./scripts/configure_freebsd_ci_jail.sh $jail_name $CIRRUS_WORKING_DIR;
29
- $exec_prefix $pkg_latest update -f;
31
+ $exec_prefix pkg update -f
30
32
fi
31
- - $exec_prefix $pkg_latest install -y "${package}" python2
33
+ - $exec_prefix pkg install -y "${package}" python2
32
34
- $exec_prefix node --version
33
35
- $exec_prefix npm --version
34
36
- $exec_prefix clang++ --version
35
37
36
38
build_script :
37
39
- |
38
- if test "$abi" = "freebsd:11:x86:32"; then
39
- changeDir="cd /etc/skel &&"
40
- fi
41
- echo "$changeDir npm install --unsafe-perm" | $exec_prefix /bin/sh
40
+ [ -n "$working_dir} ] && change_dir="cd ${working_dir} &&"
41
+ echo "$change_dir npm install --unsafe-perm" | $exec_prefix /bin/sh
42
42
43
43
publish_script :
44
44
- |
You can’t perform that action at this time.
0 commit comments