-
Notifications
You must be signed in to change notification settings - Fork 205
29 lines (27 loc) · 854 Bytes
/
Osx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Osx
on:
push:
branches:
- DemoApp
jobs:
build_Osx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
ref: DemoApp
- name: checkout submodules
run : git submodule update --init --recursive
- name: Install OpenGL lib / Requirement for Glfw3
run : brew update
- name: configure
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_TEST=ON
- name: build DemoApp
run: cmake --build build --config Release -t ImGuiFileDialog_App
- name: CTest
run: cmake --build build --config Release -t ImGuiFileDialog_Test && ctest --test-dir build --output-on-failure
- name: upload artifact
uses: actions/upload-artifact@v3
with:
name: ImGuiFileDialog_App_Macos.app
path: build/ImGuiFileDialog_App_Macos.app