Skip to content

Commit

Permalink
Add CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
keton committed Feb 23, 2024
1 parent b151775 commit 7807d12
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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: |
"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

0 comments on commit 7807d12

Please sign in to comment.