Skip to content

Commit 3c3466c

Browse files
committed
Use github actions instead of Travis and AppVeyor (#113)
1 parent 582aae9 commit 3c3466c

File tree

5 files changed

+64
-83
lines changed

5 files changed

+64
-83
lines changed

.github/workflows/build.yml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: build
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_run:
7+
# Use a workflow as a trigger of scheduled builds. Forked repositories can disable scheduled builds by disabling
8+
# "scheduled" workflow, while maintaining ability to perform local CI builds.
9+
workflows:
10+
- scheduled
11+
branches:
12+
- master
13+
- develop
14+
types:
15+
- requested
16+
17+
env:
18+
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
19+
BUILD_TYPE: Release
20+
21+
jobs:
22+
Windows:
23+
runs-on: windows-2019
24+
env:
25+
VS_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\
26+
MSBUILD_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\
27+
28+
steps:
29+
- uses: actions/checkout@v2
30+
- name: Configure CMake
31+
run: cmake -S examples -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
32+
- name: Build
33+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
34+
35+
macOS:
36+
runs-on: macos-latest
37+
38+
steps:
39+
- name: Install Dependencies
40+
run: |
41+
brew install glfw3
42+
- uses: actions/checkout@v2
43+
- name: Configure CMake
44+
run: cmake -S examples -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
45+
- name: Build
46+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
47+
48+
Linux:
49+
runs-on: ubuntu-latest
50+
51+
steps:
52+
- name: Install Dependencies
53+
run: |
54+
sudo apt-get update
55+
sudo apt-get install -y libglfw3-dev
56+
- uses: actions/checkout@v2
57+
- name: Configure CMake
58+
run: cmake -S examples -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
59+
- name: Build
60+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
61+

.travis.yml

-40
This file was deleted.

appveyor.yml

-40
This file was deleted.

docs/CHANGELOG.txt

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ v0.9.1 (WIP):
2727
https://github.com/thedmd/imgui/tree/feature/layout - used in blueprints example only
2828
https://github.com/thedmd/imgui/tree/feature/extra-keys - optional: used by Node Editor if present
2929

30+
CHANGE: Use github actions instead of Travis and AppVeyor (#113)
31+
3032
NEW: All source components are now versioned
3133

3234
NEW: Make view state independent of window resolution.

docs/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Node Editor in ImGui
22

3-
[![Appveyor status](https://ci.appveyor.com/api/projects/status/lm0io3m8mv7avacp/branch/master?svg=true)](https://ci.appveyor.com/project/thedmd/imgui-node-editor/branch/master)
4-
[![Travis status](https://travis-ci.org/thedmd/imgui-node-editor.svg?branch=master)](https://travis-ci.org/thedmd/imgui-node-editor)
5-
3+
[![build](https://github.com/thedmd/imgui-node-editor/actions/workflows/build.yml/badge.svg)](https://github.com/thedmd/imgui-node-editor/actions/workflows/build.yml)
64

75
## About
86

0 commit comments

Comments
 (0)