forked from jsm222/helloDesktop
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.cirrus.yml
46 lines (40 loc) · 1.41 KB
/
.cirrus.yml
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
task:
alias: pkg
freebsd_instance:
cpu: 4
memory: 16G
matrix:
- image: freebsd-13-1-release-amd64
# image: freebsd-14-0-current-amd64-v20220701
env:
CIRRUS_CLONE_DEPTH: 1
GITHUB_TOKEN: ENCRYPTED[ab6ea01308d126d7e7a00b607a4c3439a69f03c340c7630b86dd175e6e3b212077483d456143abc00dd092934a54e23f]
BATCH: 1
CCACHE_DIR: "/tmp/.ccache"
CCACHE_COMPRESS: 1
CCACHE_SIZE: "200M"
CCACHE_STATIC_PREFIX: "/usr/local"
CCACHE_NOSTATS: 1
CCACHE_TEMPDIR: "/tmp"
WITH_CCACHE_BUILD: "YES"
PORTS_BRANCH: "2023Q2"
portstree_cache:
folder: /usr/ports/
ccache_cache:
folder: ${CCACHE_DIR}
pkg_cache:
folder: /var/cache/pkg/
timeout_in: 90m
prerequisites_script:
- ASSUME_ALWAYS_YES=yes pkg bootstrap -f
- pkg install -y git-lite
portstree_setup_script:
- if [ ! -f "/usr/ports/${PORTS_BRANCH}" ] ; then mkdir -p /usr/ports && fetch "https://github.com/freebsd/freebsd-ports/archive/refs/heads/${PORTS_BRANCH}.tar.gz" -o - | tar xf - -C /usr/ports --strip-components=1 && touch "/usr/ports/${PORTS_BRANCH}" ; fi
ccache_setup_script:
- env IGNORE_OSVERSION=yes pkg install -y ccache-static
- ccache --max-size=${CCACHE_SIZE}
- echo "WITH_CCACHE_BUILD=yes" >> /etc/make.conf
build_script:
- ./build.sh
binary_artifacts:
path: "FreeBSD:**/*"