Browse Source

Checkout and build, let's go.

Matt Coburn 5 years ago
parent
commit
ed9e4242cf
1 changed files with 18 additions and 28 deletions
  1. 18 28
      .github/workflows/build_linux64.yml

+ 18 - 28
.github/workflows/build_linux64.yml

@@ -7,31 +7,21 @@ on:
     branches: [ experiments-with-ghactions ]
     branches: [ experiments-with-ghactions ]
 
 
 jobs:
 jobs:
-  wtfisthis:
-    name: Path lister
-    runs-on: ubuntu-latest
-    steps:
-      - name: Output results
-        run: |
-          ls -alR ..
-          
-    #build:
-    #runs-on: ubuntu-latest
-    #steps:
-      #- uses: ashutoshvarma/action-cmake-build@master
-        #with:
-          #source-dir: ${{ runner.workspace }}/../
-          #build-dir: ${{ runner.workspace }}/LinuxBuild
-          # will set the CC & CXX for cmake
-          #cc: gcc
-          #cxx: g++
-          # build-type: Release
-          
-          # Extra options pass to cmake while configuring project
-          # configure-options:
-          # run-test: false
-          # ctest-options: -R mytest
-          # install the build using cmake --install
-          # install-build: true
-          # run build using '-j [parallel]' to use multiple threads to build
-          # parallel: 
+    build:
+        runs-on: ubuntu-latest
+        steps:
+        - uses: actions/checkout@v2
+        
+        - name: Build with CMake
+            uses: ashutoshvarma/action-cmake-build@master
+            with:
+                source-dir: ${{ runner.workspace }}
+                build-dir: ${{ runner.workspace }}/build
+                # will set the CC & CXX for cmake
+                cc: gcc
+                cxx: g++
+                build-type: Release
+                
+        - name: Show our results
+            run: |            
+                ls -alR ./build/