فهرست منبع

Merge pull request #3096 from assimp/kimkulling-patch-3

Add mac
Kim Kulling 5 سال پیش
والد
کامیت
b6b3b39bb3
1فایلهای تغییر یافته به همراه13 افزوده شده و 3 حذف شده
  1. 13 3
      .github/workflows/ccpp.yml

+ 13 - 3
.github/workflows/ccpp.yml

@@ -7,8 +7,7 @@ on:
     branches: [ master ]
 
 jobs:
-  build-ubuntu:
-
+  linux:
     runs-on: ubuntu-latest
     
     steps:
@@ -19,4 +18,15 @@ jobs:
       run: cmake --build .
     - name: test
       run: cd bin && ./unit
-      
+  
+  mac:
+    runs-on: macos-latest
+    
+    steps:
+    - uses: actions/checkout@v1
+    - name: configure
+      run: cmake CMakeLists.txt
+    - name: build
+      run: cmake --build .
+    - name: test
+      run: cd bin && ./unit