diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 1f93b57..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,101 +0,0 @@ -name: release - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build-ubuntu: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Checkout submodules - shell: bash - run: | - # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line - # git config --global url."https://github.com/".insteadOf "git@github.com:" - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - - name: Install Qt - uses: jurplel/install-qt-action@v2 - - name: configure - run: mkdir build && mkdir output && mkdir install && cd build && cmake -DCMAKE_CXX_FLAGS="-Werror" -DCMAKE_INSTALL_PREFIX:STRING="../install" -DCPACK_OUTPUT_FILE_PREFIX:STRING="../output" .. - - name: build - run: cmake --build build --config Release --target install - - name: test - run: cd build && ctest - - name: pack - run: cd build && cpack -D CPACK_GENERATOR="DEB" - - name: upload - uses: actions/upload-artifact@v1 - with: - name: ArtMOO-bionic.deb - path: output - - build-windows: - - runs-on: windows-latest - - steps: - - uses: actions/checkout@v2 - - name: Checkout submodules - shell: bash - run: | - # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line - # git config --global url."https://github.com/".insteadOf "git@github.com:" - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - - name: Install Qt - uses: jurplel/install-qt-action@v2 - - name: configure - run: mkdir build && cd build && cmake .. - - name: build - run: cmake --build build --config Release - - name: test - run: cd build && ctest - - name: pack - run: cd build && cpack -D CPACK_GENERATOR="NSIS" - - name: upload - uses: actions/upload-artifact@v1 - with: - name: ArtMOO-win64.exe - path: build - - build-macos: - - runs-on: macos-latest - - steps: - - uses: actions/checkout@v2 - - name: Checkout submodules - shell: bash - run: | - # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line - # git config --global url."https://github.com/".insteadOf "git@github.com:" - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - - name: Install Qt - uses: jurplel/install-qt-action@v2 - - name: configure - run: mkdir build && cd build && cmake .. - - name: build - run: cmake --build build --config Release - - name: test - run: cd build && ctest - - name: pack - run: cd build && cpack -D CPACK_GENERATOR="DragNDrop" - - name: upload - uses: actions/upload-artifact@v1 - with: - name: ArtMOO-macOS.dmg - path: build -