forked from Chatterino/chatterino2
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:Chatterino/chatterino2 into danke…
…rino
- Loading branch information
Showing
133 changed files
with
1,821 additions
and
1,437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ENV TZ=UTC | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
RUN apt-get update && apt-get -y install --no-install-recommends \ | ||
cmake \ | ||
virtualenv \ | ||
rapidjson-dev \ | ||
libfuse2 \ | ||
libssl-dev \ | ||
libboost-dev \ | ||
libxcb-randr0-dev \ | ||
libboost-system-dev \ | ||
libboost-filesystem-dev \ | ||
libpulse-dev \ | ||
libxkbcommon-x11-0 \ | ||
build-essential \ | ||
libgl1-mesa-dev \ | ||
libxcb-icccm4 \ | ||
libxcb-image0 \ | ||
libxcb-keysyms1 \ | ||
libxcb-render-util0 \ | ||
libxcb-xinerama0 | ||
|
||
RUN apt-get -y install \ | ||
git \ | ||
lsb-release \ | ||
python3-pip && \ | ||
apt-get clean all | ||
|
||
# Install Qt as we do in CI | ||
|
||
RUN pip3 install -U pip && \ | ||
pip3 install aqtinstall && \ | ||
aqt install-qt linux desktop 5.12.12 && \ | ||
mkdir -p /opt/qt512 && \ | ||
mv /5.12.12/gcc_64/* /opt/qt512 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ENV TZ=UTC | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
RUN apt-get update && apt-get -y install --no-install-recommends \ | ||
cmake \ | ||
virtualenv \ | ||
rapidjson-dev \ | ||
libfuse2 \ | ||
libssl-dev \ | ||
libboost-dev \ | ||
libxcb-randr0-dev \ | ||
libboost-system-dev \ | ||
libboost-filesystem-dev \ | ||
libpulse-dev \ | ||
libxkbcommon-x11-0 \ | ||
build-essential \ | ||
libgl1-mesa-dev \ | ||
libxcb-icccm4 \ | ||
libxcb-image0 \ | ||
libxcb-keysyms1 \ | ||
libxcb-render-util0 \ | ||
libxcb-xinerama0 \ | ||
libfontconfig | ||
|
||
RUN apt-get -y install \ | ||
git \ | ||
lsb-release \ | ||
python3-pip && \ | ||
apt-get clean all | ||
|
||
# Install Qt as we do in CI | ||
|
||
RUN pip3 install -U pip && \ | ||
pip3 install aqtinstall && \ | ||
aqt install-qt linux desktop 5.15.2 && \ | ||
mkdir -p /opt/qt515 && \ | ||
mv /5.15.2/gcc_64/* /opt/qt515 | ||
|
||
ADD ./.patches /tmp/.patches | ||
|
||
# Apply Qt patches | ||
RUN patch "/opt/qt515/include/QtConcurrent/qtconcurrentthreadengine.h" /tmp/.patches/qt5-on-newer-gcc.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM chatterino-ubuntu-22.04-base | ||
|
||
ADD . /src | ||
|
||
RUN mkdir /src/build | ||
|
||
# cmake | ||
RUN cd /src/build && \ | ||
CXXFLAGS=-fno-sized-deallocation cmake \ | ||
-DCMAKE_PREFIX_PATH=/opt/qt515/lib/cmake \ | ||
-DUSE_PRECOMPILED_HEADERS=OFF \ | ||
-DBUILD_WITH_QTKEYCHAIN=OFF \ | ||
-DBUILD_TESTS=ON \ | ||
.. | ||
|
||
# build | ||
RUN cd /src/build && \ | ||
make -j8 | ||
|
||
ENV QT_QPA_PLATFORM=minimal | ||
ENV QT_PLUGIN_PATH=/opt/qt515/plugins | ||
|
||
# test | ||
CMD /src/build/bin/chatterino-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,7 @@ jobs: | |
echo "C2_BUILD_WITH_QT6=ON" >> "$GITHUB_ENV" | ||
shell: bash | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 # allows for tags access | ||
|
@@ -308,7 +308,7 @@ jobs: | |
|
||
- name: clang-tidy review | ||
if: matrix.clang-tidy-review && github.event_name == 'pull_request' | ||
uses: ZedThree/[email protected].2 | ||
uses: ZedThree/[email protected].4 | ||
with: | ||
build_dir: build-clang-tidy | ||
config_file: ".clang-tidy" | ||
|
@@ -335,7 +335,7 @@ jobs: | |
- name: clang-tidy-review upload | ||
if: matrix.clang-tidy-review && github.event_name == 'pull_request' | ||
uses: ZedThree/clang-tidy-review/[email protected].2 | ||
uses: ZedThree/clang-tidy-review/[email protected].4 | ||
|
||
- name: Package - AppImage (Ubuntu) | ||
if: startsWith(matrix.os, 'ubuntu-20.04') && !matrix.skip-artifact | ||
|
@@ -414,7 +414,7 @@ jobs: | |
if: (github.event_name == 'push' && github.ref == 'refs/heads/dankerino') | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # allows for tags access | ||
|
||
|
@@ -491,7 +491,7 @@ jobs: | |
shell: bash | ||
|
||
- name: Create release | ||
uses: ncipollo/release-action@v1.12.0 | ||
uses: ncipollo/release-action@v1.13.0 | ||
with: | ||
replacesArtifacts: true | ||
allowUpdates: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: ZedThree/clang-tidy-review/[email protected].2 | ||
- uses: ZedThree/clang-tidy-review/[email protected].4 | ||
with: | ||
lgtm_comment_body: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,7 @@ Thumbs.db | |
dependencies | ||
.cache | ||
.editorconfig | ||
vim.log | ||
|
||
### CMake ### | ||
CMakeLists.txt.user | ||
|
Oops, something went wrong.