Skip to content

Commit 46c0c98

Browse files
committedJan 20, 2021
Initial commit
0 parents  commit 46c0c98

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+10391
-0
lines changed
 

‎.editorconfig

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[*.cs]
2+
indent_style = tab

‎.github/workflows/build-native.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Build Native
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build-native-win-x64:
6+
runs-on: windows-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Build
10+
run: |
11+
cd pinmame
12+
copy CMakeLists_win-x64.txt CMakeLists.txt
13+
cmake -G "Visual Studio 16 2019" -A x64 -B build
14+
cmake --build build --config Release
15+
- uses: actions/upload-artifact@v2
16+
with:
17+
name: libpinmame-win-x64
18+
path: pinmame/build/lib/
19+
20+
build-native-win-x86:
21+
runs-on: windows-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Build
25+
run: |
26+
cd pinmame
27+
copy CMakeLists_win-x86.txt CMakeLists.txt
28+
cmake -G "Visual Studio 16 2019" -A Win32 -B build
29+
cmake --build build --config Release
30+
- uses: actions/upload-artifact@v2
31+
with:
32+
name: libpinmame-win-x86
33+
path: pinmame/build/lib/
34+
35+
build-native-osx-x64:
36+
runs-on: macos-latest
37+
steps:
38+
- uses: actions/checkout@v2
39+
- uses: nuget/setup-nuget@v1
40+
- name: Build
41+
run: |
42+
cd pinmame
43+
cp CMakeLists_osx-x64.txt CMakeLists.txt
44+
cmake -B build
45+
cmake --build build
46+
- uses: actions/upload-artifact@v2
47+
with:
48+
name: libpinmame-osx-x64
49+
path: pinmame/build/lib/
50+
51+
# build-native-linux-x64:
52+
# runs-on: ubuntu-latest
53+
# steps:
54+
# - uses: actions/checkout@v2
55+
# - uses: nuget/setup-nuget@v1
56+
# - name: Build
57+
# run: |
58+
# cd pinmame
59+
# cp CMakeLists_linux-x64.txt CMakeLists.txt
60+
# cmake -B build
61+
# cmake --build build
62+
# - uses: actions/upload-artifact@v2
63+
# with:
64+
# name: libpinmame-linux-x64
65+
# path: pinmame/build/lib/

0 commit comments

Comments
 (0)
Please sign in to comment.