From bb22270ebb477b0f05412ceec4d5246c0fc84f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lower?= Date: Fri, 23 Feb 2024 07:32:07 +0100 Subject: [PATCH] Add CI/CD --- .github/workflows/build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..0412866 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,31 @@ +name: CMake on a single platform + +on: [push] + +#on: +# push: +# branches: ["master"] +# pull_request: +# branches: ["master"] + +permissions: + contents: write + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + - name: Set github url and credentials + run: | + git config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}@github".insteadOf ssh://git@github + git config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}@github".insteadOf https://github + git config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}@github".insteadOf git@github + + - name: test + run: git clone --recursive --depth 1 https://github.com/praydog/UEVR.git