Add CI/CD #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
/usr/bin/git config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}:x-oauth-basic@github".insteadOf ssh://git@github | |
/usr/bin/git config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}:x-oauth-basic@github".insteadOf https://github | |
/usr/bin/git 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 |