Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 1fc6def

Browse files
authored
Merge pull request #274 from cipherboy/ubuntu-build-instructions
Add Ubuntu dependency instructions
2 parents 1633ec2 + 338ef06 commit 1fc6def

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@ jobs:
6363
files: build-osx/scap-workbench-${{ steps.get_version.outputs.VERSION }}.dmg
6464
env:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-

.github/workflows/ubuntu.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: OpenScap Workbench CI
2+
3+
# Controls when the action will run. Triggers the workflow on push or pull request
4+
# events but only for the master branch
5+
on: [push, pull_request]
6+
7+
jobs:
8+
build-ubuntu:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Install required dependencies
13+
run: |
14+
sudo apt install -y build-essential openssh-client libopenscap-dev
15+
sudo apt install -y libqt5xmlpatterns5-dev ssh-askpass asciidoc
16+
sudo apt install -y libpolkit-agent-1-0
17+
- name: Build SCAP Workbench
18+
run: |
19+
mkdir -p build
20+
pushd build
21+
cmake ..
22+
make
23+
popd

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ optional dependencies:
3232
# yum install polkit
3333
```
3434

35+
On Ubuntu this is roughly equivalent to:
36+
37+
```console
38+
# apt install build-essential openssh-client libopenscap-dev libqt5xmlpatterns5-dev ssh-askpass
39+
# apt install asciidoc
40+
# apt install libpolkit-agent-1-0
41+
```
42+
3543
2) Build SCAP Workbench:
3644
```console
3745
$ mkdir build; cd build

0 commit comments

Comments
 (0)