From 92d072f83683668c7a3ada0781e2d135155a2562 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 23 Oct 2022 14:25:36 +0800 Subject: [PATCH] Create cmake-ios.yml --- .github/workflows/cmake-ios.yml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/cmake-ios.yml diff --git a/.github/workflows/cmake-ios.yml b/.github/workflows/cmake-ios.yml new file mode 100644 index 00000000..88a9dc57 --- /dev/null +++ b/.github/workflows/cmake-ios.yml @@ -0,0 +1,38 @@ +name: CMake + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + - name: get ios-cmake + uses: sudosubin/git-clone-action@v1.0.1 + with: + # Repository owner and name. Ex: sudosubin/git-clone-action + repository: leetal/ios-cmake + # Git host platform. Ex: github, gitlab, bitbucket, gitee, or else (git.suckless.org, ...) + platform: github + # Relative path from current directory, where to clone. + #path: ios-# optional + + + - name: configure + run: ./configure + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck