diff options
-rw-r--r-- | .github/workflows/cmake_tags.yml | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/.github/workflows/cmake_tags.yml b/.github/workflows/cmake_tags.yml deleted file mode 100644 index 1e99b60b..00000000 --- a/.github/workflows/cmake_tags.yml +++ /dev/null @@ -1,91 +0,0 @@ -name: CMakeTags - -on: - push: - tags: - - '*' - -env: - # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) - BUILD_TYPE: Release - -jobs: - build: - # The CMake configure and build commands are platform agnostic and should work equally - # well on Windows or Mac. You can convert this to a matrix build if you need - # cross-platform coverage. - # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-latest, windows-latest, ubuntu-latest] - - steps: - - uses: actions/checkout@v2 - - - name: Install OpenGL - run: sudo apt install mesa-common-dev libglu1-mesa-dev freeglut3-dev - if: matrix.os == 'ubuntu-latest' - - - name: Install USBlib - run: sudo apt-get install libudev-dev - if: matrix.os == 'ubuntu-latest' - - - name: Configure CMake - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUIL D_TYPE.html?highlight=cmake_build_type - run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - - - name: Build - # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - - name: linux dependency - shell: bash - run: | - ldd ${{github.workspace}}/build/xp11/lin.xpl > ${{github.workspace}}/build/xp11/lin.txt - if: matrix.os == 'ubuntu-latest' - - - name: macos dependency - shell: bash - run: | - otool -L ${{github.workspace}}/build/xp11/mac.xpl > ${{github.workspace}}/build/xp11/mac.txt - if: matrix.os == 'macos-latest' - - - name: Upload build - uses: actions/upload-artifact@v2 - with: - name: buildoutput - path: ${{github.workspace}}/build/xp11 - - jbrelease: - needs: build - runs-on: ubuntu-latest - steps: - - name: Set enviroment for release - run: | - echo "RELEASE_TAG=v1.0.0" >> $GITHUB_ENV - echo "RELEASE_NAME=$GITHUB_WORKFLOW" >> $GITHUB_ENV - - - name: Download artifact - uses: actions/download-artifact@v2 - with: - name: buildoutput - - - name: Upload to Release - uses: meeDamian/github-release@2.0 - with: - # tag: ${{ env.RELEASE_TAG }} - draft: true - allow_override: true - gzip: false - token: ${{ secrets.GITHUB_TOKEN }} - files: > - lin.xpl - lin.txt - mac.xpl - mac.txt - Release/win.xpl - - |