This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
forked from SevenTV/chatterino7
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'SevenTV:chatterino7' into chatterino7
- Loading branch information
Showing
74 changed files
with
652 additions
and
361 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,21 @@ jobs: | |
os: [windows-latest, ubuntu-latest, macos-latest] | ||
qt-version: [5.15.2, 5.12.10] | ||
build-system: [qmake, cmake] | ||
pch: [true] | ||
exclude: | ||
- os: windows-latest | ||
qt-version: 5.12.10 | ||
build-system: cmake | ||
pch: true | ||
include: | ||
- os: windows-2016 | ||
qt-version: 5.12.10 | ||
build-system: cmake | ||
pch: true | ||
- os: ubuntu-latest | ||
qt-version: 5.15.2 | ||
build-system: cmake | ||
pch: false | ||
fail-fast: false | ||
|
||
steps: | ||
|
@@ -38,7 +45,7 @@ jobs: | |
echo "vs_version=2017" >> $GITHUB_ENV | ||
shell: bash | ||
|
||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 # allows for tags access | ||
|
@@ -82,7 +89,7 @@ jobs: | |
- name: Enable Developer Command Prompt | ||
if: startsWith(matrix.os, 'windows') | ||
uses: ilammy/msvc-dev-cmd@v1.9.0 | ||
uses: ilammy/msvc-dev-cmd@v1.10.0 | ||
|
||
- name: Build (Windows) | ||
if: startsWith(matrix.os, 'windows') && matrix.build-system == 'qmake' | ||
|
@@ -158,7 +165,12 @@ jobs: | |
run: | | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=appdir/usr/ -DCMAKE_BUILD_TYPE=Release -DPAJLADA_SETTINGS_USE_BOOST_FILESYSTEM=On .. | ||
cmake \ | ||
-DCMAKE_INSTALL_PREFIX=appdir/usr/ \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DPAJLADA_SETTINGS_USE_BOOST_FILESYSTEM=On \ | ||
-DUSE_PRECOMPILED_HEADERS=${{ matrix.pch }} \ | ||
.. | ||
make -j8 | ||
shell: bash | ||
|
||
|
@@ -214,6 +226,7 @@ jobs: | |
cmake \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl \ | ||
-DUSE_PRECOMPILED_HEADERS=${{ matrix.pch }} \ | ||
.. | ||
make -j8 | ||
shell: bash | ||
|
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,7 +12,7 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
|
||
- name: apt-get update | ||
run: sudo apt-get update | ||
|
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,28 @@ | ||
name: 'Publish Homebrew Cask on Release' | ||
on: | ||
push: | ||
tags: | ||
# Should match semver for mainline releases (not including -beta) | ||
- 'v2.[0-9]+.[0-9]+' | ||
# TODO: handle beta and nightly releases | ||
# Need to make those casks manually first | ||
# - v2.[0-9]+.[0-9]+-beta(?:[0-9]+) | ||
|
||
env: | ||
# This gets updated later on in the run by a bash script to strip the prefix | ||
C2_CASK_NAME: 'chatterino' | ||
C2_TAGGED_VERSION: '${{ github.ref }}' | ||
|
||
jobs: | ||
update_stable_homebrew_cask: | ||
name: 'Update the stable homebrew cask' | ||
runs-on: 'macos-latest' | ||
steps: | ||
# Pulls out the version from the ref (e.g. refs/tags/v2.3.1 -> 2.3.1) | ||
- name: 'Extract version from tag' | ||
run: | | ||
'STRIPPED_VERSION=$("refs/tags/$(C2_TAGGED_VERSION)" | sed "s/refs\/tags\/v//gm")' | ||
'echo "C2_TAGGED_VERSION=$(STRIPPED_VERSION)" >> $GITHUB_ENV' | ||
- name: 'Execute ''brew bump-cask-pr'' with version' | ||
run: 'brew bump-cask-pr --version $(C2_TAGGED_VERSION) $(C2_CASK_NAME)' | ||
|
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,7 +12,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
|
||
- name: Lint Markdown files | ||
uses: actionsx/prettier@v2 | ||
|
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
submodules: recursive | ||
|
||
|
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
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
Oops, something went wrong.