Skip to content

Add CI/CD

Add CI/CD #7

Workflow file for this run

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: |
"C:\Program Files\Git\bin\git.exe" config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}:x-oauth-basic@github".insteadOf ssh://git@github
"C:\Program Files\Git\bin\git.exe" config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}:x-oauth-basic@github".insteadOf https://github
"C:\Program Files\Git\bin\git.exe" config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}:x-oauth-basic@github".insteadOf git@github
- name: test
run: git clone --recursive --depth 1 https://github.com/praydog/UEVR.git