This repository was archived by the owner on Sep 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ os : osx
2
+ osx_image : xcode8.3
3
+ sudo : required
4
+
5
+ language : cpp
6
+
7
+ compiler :
8
+ - gcc
9
+
10
+ before_install :
11
+ - brew update
12
+ - brew install jq
13
+ - brew install cartr/qt4/qt@4
14
+ - brew install asciidoctor
15
+
16
+ before_script :
17
+ - git clone --depth 1 https://github.com/openscap/openscap.git -b master
18
+ - pushd openscap/build
19
+ - cmake -DENABLE_PROBES=FALSE ../
20
+ - make -j 4
21
+ - make install
22
+ - popd
23
+
24
+ script :
25
+ - ./build-for-osx.sh
26
+ - wget `curl -s https://api.github.com/repos/openscap/scap-security-guide/releases/latest?access_token=$GITHUB_TOKEN | jq -r ".assets[] | select(.name | test(\"(scap-security-guide-[0-9].[0-9].[0-9]*).zip\")) | .browser_download_url"` -O ssg.zip
27
+ - mkdir -p `pwd`/scap-workbench.app/Contents/Resources/ssg/ && unzip ssg.zip -d `pwd`/scap-workbench.app/Contents/Resources/ssg/
28
+ - cd build-osx && sh osx-create-dmg.sh
29
+
30
+ deploy :
31
+ provider : releases
32
+ api_key : $GITHUB_TOKEN
33
+ file : scap-workbench-$TRAVIS_TAG.dmg
34
+ skip_cleanup : true
35
+ on :
36
+ tags : true
You can’t perform that action at this time.
0 commit comments