File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 31
31
name : arcem-linux-${{ matrix.linux.system }}
32
32
path : ./build/arcem
33
33
34
+ build-macosx :
35
+ name : Mac OS X (${{ matrix.macosx.system }})
36
+ runs-on : macos-latest
37
+
38
+ strategy :
39
+ matrix :
40
+ macosx :
41
+ - { system: X, brew-packages: xquartz }
42
+ - { system: SDL1, brew-packages: sdl12-compat }
43
+ - { system: SDL2, brew-packages: sdl2 }
44
+
45
+ steps :
46
+ - uses : actions/checkout@v3
47
+ - name : Install dependencies
48
+ if : ${{ matrix.macosx.brew-packages != '' }}
49
+ run : brew install ${{ matrix.macosx.brew-packages }}
50
+ - name : Configure
51
+ run : cmake -B build/ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSYSTEM=${{ matrix.macosx.system }} .
52
+ - name : Build
53
+ run : cmake --build build/ --config ${{env.BUILD_TYPE}} --parallel
54
+ - uses : actions/upload-artifact@v4
55
+ with :
56
+ name : arcem-macosx-${{ matrix.macosx.system }}
57
+ path : ./build/ArcEm.app
58
+
34
59
build-msvc :
35
60
name : Windows (MSVC ${{ matrix.msvc.platform }})
36
61
runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments