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

Commit 338ef06

Browse files
committed
Add Ubuntu 20.04 GitHub actions build environment
Signed-off-by: Alexander Scheel <[email protected]>
1 parent 4765edf commit 338ef06

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-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

0 commit comments

Comments
 (0)