Skip to content

Commit 1d32ab0

Browse files
matbesanconAntoinePrv
authored andcommitted
rename
1 parent 1f98b83 commit 1d32ab0

File tree

2 files changed

+62
-62
lines changed

2 files changed

+62
-62
lines changed

.github/workflows/build-unix.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
9+
jobs:
10+
debug:
11+
name: ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
- os: ubuntu-latest
16+
arch: x64
17+
- os: ubuntu-latest
18+
arch: x86
19+
- os: macos-latest
20+
arch: x64
21+
- os: macos-latest
22+
arch: x86
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Create Build Environment
26+
run: cmake -E make_directory ${{runner.workspace}}/build
27+
28+
- name: Configure CMake
29+
shell: bash
30+
working-directory: ${{runner.workspace}}/build
31+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=DEBUG
32+
33+
- name: Build
34+
working-directory: ${{runner.workspace}}/build
35+
shell: bash
36+
# Execute the build. You can specify a specific target with "--target <NAME>"
37+
run: |
38+
cmake --build . --config DEBUG
39+
40+
release:
41+
runs-on: ${{ matrix.os }}
42+
strategy:
43+
matrix:
44+
os: [ubuntu-latest, macos-latest]
45+
46+
steps:
47+
- uses: actions/checkout@v1
48+
49+
- name: Create Build Environment
50+
run: cmake -E make_directory ${{runner.workspace}}/build
51+
52+
- name: Configure CMake
53+
shell: bash
54+
working-directory: ${{runner.workspace}}/build
55+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=RELEASE
56+
57+
- name: Build
58+
working-directory: ${{runner.workspace}}/build
59+
shell: bash
60+
# Execute the build. You can specify a specific target with "--target <NAME>"
61+
run: |
62+
cmake --build . --config RELEASE

0 commit comments

Comments
 (0)