ソースを参照

Create build_linux64.yml

Testing automatic linux binary creation via GitHub actions
Coburn 5 年 前
コミット
fafff082eb
1 ファイル変更27 行追加0 行削除
  1. 27 0
      .github/workflows/build_linux64.yml

+ 27 - 0
.github/workflows/build_linux64.yml

@@ -0,0 +1,27 @@
+name: Build Binaries for Linux64
+
+on:
+  push:
+    branches: [ experiments-with-ghactions ]
+  pull_request:
+    branches: [ experiments-with-ghactions ]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: ashutoshvarma/action-cmake-build@master
+        with:
+          build-dir: ${{ runner.workspace }}/build
+          # 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: