Skip to content

Commit 3609dd6

Browse files
committed
wip
1 parent cffe835 commit 3609dd6

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.github/workflows/deploy-linux-appimage.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
on:
22
workflow_dispatch:
33
push:
4-
# Sequence of patterns matched against refs/tags
5-
tags:
6-
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
4+
branches:
5+
- "**"
6+
# # Sequence of patterns matched against refs/tags
7+
# tags:
8+
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
79

810
jobs:
911
deploy:
1012
runs-on: ubuntu-latest
13+
container:
14+
image: ghcr.io/${{ github.repository }}/ubuntu:feature-docker_build_appimage
15+
options: --cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfined
1116
steps:
1217
- name: Checkout code
1318
uses: actions/checkout@v2
1419
with:
1520
submodules: true
16-
- name: Install package
17-
run: |
18-
sudo apt-get update
19-
sudo apt-get -y install qtbase5-dev qt3d5-dev libqt5svg5-dev freeglut3-dev libabsl-dev
21+
fetch-depth: 0
2022
- name: Build and test
2123
run: ci/buildappimage.sh
24+
env:
25+
LD_LIBRARY_PATH: /opt/lib
2226
- name: Create Release
2327
uses: softprops/action-gh-release@v1
2428
with:

ci/buildappimage.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ trap cleanup EXIT
2525
REPO_ROOT=$(readlink -f $(dirname $(dirname $0)))
2626
OLD_CWD=$(readlink -f .)
2727

28+
git config --global --add safe.directory $REPO_ROOT
29+
2830
# generate release name
2931
COMMIT=$(git rev-parse --short HEAD)
3032
TAG=$(git describe --tags)

ci/docker/ubuntu/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ RUN apt update && apt install -y wget unzip git python3-jinja2 python3-pip
99
RUN pip install aqtinstall --break-system-packages
1010

1111
RUN aqt install-qt -O /opt/qt linux desktop 6.8.2 -m qt3d
12+
ENV PATH="/opt/qt/6.8.2/gcc_64/bin/:$PATH"
1213

1314
RUN wget http://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
1415
RUN unzip build-wrapper-linux-x86.zip -d /opt

0 commit comments

Comments
 (0)