Skip to content

Commit

Permalink
changed CI-build to github-action, removed travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jkriege2 committed Apr 23, 2024
1 parent f13ce29 commit 1530027
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 158 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/build_msvc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: BUILD-MSVC-CI

on: [push, pull_request]

jobs:
ci:
if: >-
! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
! contains(toJSON(github.event.commits.*.message), '[skip github]')
name: MSVC 2022
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- {gen: Visual Studio 17 2022, arch: Win32, shared: ON, static: OFF}
- {gen: Visual Studio 17 2022, arch: Win32, shared: OFF, static: ON}
- {gen: Visual Studio 17 2022, arch: x64, shared: ON, static: OFF}
- {gen: Visual Studio 17 2022, arch: x64, shared: OFF, static: ON}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Configure
run: |
mkdir install
cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -DTinyTIFF_BUILD_SHARED_LIBS=${{matrix.shared}} -DTinyTIFF_BUILD_STATIC_LIBS=${{matrix.static}} -DBUILD_SHARED_LIBS=${{matrix.shared}} -DCMAKE_INSTALL_PREFIX=./install -B build
- name: Build Debug
run: |
cmake --build build --config Debug --verbose
cd build
dir /s
dir /s /b
cd ..
- name: Build Release
run: |
cmake --build build --config Release --verbose
cd build
dir /s
dir /s /b
cd ..
# - name: Run Release tests
# run: |
# cd build
# ctest -C Release -LE explicitonly --output-on-failure
# - name: Run Debug tests
# run: |
# cd build
# ctest -C Debug -LE explicitonly --output-on-failure
# - name: Install
# run: |
# cmake --install build --config Release
# - name: Test Installation
# run: |
# cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -B build_install_test tests/installation_tests/find
# cmake --build build_install_test --config Release
105 changes: 0 additions & 105 deletions .travis.yml

This file was deleted.

23 changes: 18 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
version: 0.{build}-{branch}

image:
- Visual Studio 2017
- Visual Studio 2019
# don't build tags
skip_tags: true

# exclude gh-pages branch
branches:
except:
- gh-pages

shallow_clone: true

# auto-build VSProject: OFF
build: false


#configurations to build
configuration:
- Release

environment:
global:
QTVER: 5.11
JOMDIR: C:\Qt\Tools\QtCreator\bin
MINGWDIR: C:\Qt\Tools\mingw530_32
VSVER: 0

matrix:
- QTABI: mingw53_32
Expand Down
37 changes: 0 additions & 37 deletions ci/install_travis.sh

This file was deleted.

11 changes: 0 additions & 11 deletions ci/test_travis.sh

This file was deleted.

0 comments on commit 1530027

Please sign in to comment.