mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Revert old test workflow changes
This commit is contained in:
parent
3fddf31e16
commit
b2d0372ae6
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
|
@ -27,12 +27,6 @@ jobs:
|
||||||
path: ../Qt
|
path: ../Qt
|
||||||
key: ${{ runner.os }}-QtCache-20201005
|
key: ${{ runner.os }}-QtCache-20201005
|
||||||
|
|
||||||
- name: Cache conan
|
|
||||||
uses: actions/cache@v2.1.4
|
|
||||||
with:
|
|
||||||
key: ${{ runner.os }}-conan-root-${{ hashFiles('**/conanfile.txt') }}
|
|
||||||
path: ~/.conan
|
|
||||||
|
|
||||||
# LINUX
|
# LINUX
|
||||||
- name: Install p7zip (Ubuntu)
|
- name: Install p7zip (Ubuntu)
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
|
@ -52,7 +46,6 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install \
|
sudo apt-get -y install \
|
||||||
cmake \
|
cmake \
|
||||||
virtualenv \
|
|
||||||
rapidjson-dev \
|
rapidjson-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
libboost-dev \
|
libboost-dev \
|
||||||
|
@ -72,19 +65,21 @@ jobs:
|
||||||
|
|
||||||
- name: Create build directory (Ubuntu)
|
- name: Create build directory (Ubuntu)
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
run: mkdir build-test
|
run: |
|
||||||
|
mkdir build-test
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build (Ubuntu)
|
- name: Build (Ubuntu)
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
run: |
|
run: |
|
||||||
cmake -DBUILD_TESTS=ON -DBUILD_APP=OFF ..
|
cmake -DBUILD_TESTS=On -DBUILD_APP=OFF ..
|
||||||
make -j
|
cmake --build . --config Release
|
||||||
working-directory: build-test
|
working-directory: build-test
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Test (Ubuntu)
|
- name: Test (Ubuntu)
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
run: ./bin/chatterino-test --platform minimal
|
run: |
|
||||||
|
./bin/chatterino-test --platform minimal
|
||||||
working-directory: build-test
|
working-directory: build-test
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue