Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updated docs for face_toward notes. #24

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
889e861
Updated docs for face_toward notes.
Sopitive May 11, 2022
885030d
Angle Conversion Input Box
Sopitive Oct 19, 2022
2c41a08
Create .github
Sopitive Jul 22, 2023
cbe66b7
Build Project
Jul 22, 2023
3692203
Fix File Extension
Jul 22, 2023
7ef0c58
Create c-cpp.yml
Sopitive Jul 22, 2023
f4ac2da
Update c-cpp.yml
Sopitive Jul 22, 2023
2464943
Update c-cpp.yml
Sopitive Jul 22, 2023
2cb0bdf
Update c-cpp.yml
Sopitive Jul 22, 2023
7125034
Update c-cpp.yml
Sopitive Jul 22, 2023
e1b52f5
Update c-cpp.yml
Sopitive Jul 22, 2023
add2067
Update c-cpp.yml
Sopitive Jul 22, 2023
9f694bc
Update c-cpp.yml
Sopitive Jul 22, 2023
edcedf6
Update c-cpp.yml
Sopitive Jul 22, 2023
353cf00
Update c-cpp.yml
Sopitive Jul 22, 2023
5773604
Update c-cpp.yml
Sopitive Jul 22, 2023
7463829
Update c-cpp.yml
Sopitive Jul 22, 2023
678e251
Update c-cpp.yml
Sopitive Jul 24, 2023
019e973
Update c-cpp.yml
Sopitive Jul 24, 2023
9ba62a6
Update c-cpp.yml
Sopitive Jul 24, 2023
9bbde98
Update c-cpp.yml
Sopitive Jul 24, 2023
bcb98c0
Update c-cpp.yml
Sopitive Jul 24, 2023
e9b0696
Update c-cpp.yml
Sopitive Jul 24, 2023
cc21bc1
Update c-cpp.yml
Sopitive Jul 24, 2023
9fff1c7
Update c-cpp.yml
Sopitive Jul 24, 2023
fbe53ef
Update c-cpp.yml
Sopitive Jul 24, 2023
cc91c17
Update c-cpp.yml
Sopitive Jul 24, 2023
d8a1ff3
Update c-cpp.yml
Sopitive Jul 27, 2023
cfa87ed
Update c-cpp.yml
Sopitive Jul 27, 2023
9b04312
Update c-cpp.yml
Sopitive Jul 27, 2023
7627e55
Update c-cpp.yml
Sopitive Jul 27, 2023
31ac067
Update c-cpp.yml
Sopitive Jul 27, 2023
0ac7dfe
Update c-cpp.yml
Sopitive Jul 27, 2023
b8e4436
Update c-cpp.yml
Sopitive Jul 27, 2023
62d7908
Update c-cpp.yml
Sopitive Jul 27, 2023
f73509b
Update c-cpp.yml
Sopitive Jul 27, 2023
bca2968
Update c-cpp.yml
Sopitive Jul 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update c-cpp.yml
Sopitive authored Jul 27, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit d8a1ff3a2d8a30e707616049de1e2f72d807f580
89 changes: 28 additions & 61 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -1,74 +1,41 @@
name: CMake
name: Build and Upload Artifact

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
branches:
- main # Adjust this to the branch you want to trigger the build on

jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: windows-latest
runs-on: windows-latest # We use Windows runner as MSBuild is used

steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v2

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.2 # Set up MSBuild on the Windows runner

- name: Restore NuGet packages (if needed)
run: nuget restore ReachVariantTool.sln # Replace with the correct solution file name

- name: Install Qt
# Installs the Qt SDK
uses: jurplel/install-qt-action@v2
with:
version: '5.15.2'
host: 'windows'
target: 'desktop'
dir: ${{ runner.temp }}
arch: 'win64_msvc2019_64'
setup-python: true

- name: Download JOM
uses: suisei-cn/actions-download-file@v1
with:
url: http://download.qt.io/official_releases/jom/jom.zip
target: ${{ runner.temp }}\
- name: Build the solution
run: msbuild ReachVariantTool.sln /p:Configuration=Debug /p:Platform=x64

- name: Unzip JOM
working-directory: ${{ runner.temp }}
run: |
7z x jom.zip -ojom
- name: Create artifact directory
run: mkdir artifact

- name: Create build directory
run: mkdir ${{ runner.temp }}\build
- name: Copy built files to artifact directory
run: |
robocopy x64\Debug artifact /E

- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: Zip artifact directory
run: |
$zipPath = $env:GITHUB_WORKSPACE + '\artifact.zip'
Compress-Archive -Path $env:GITHUB_WORKSPACE\artifact -DestinationPath $zipPath

- name: Build
working-directory: ${{ runner.temp }}\build
run: |
qmake -r ${{ github.workspace }}\native\src\ReachVariantTool
${{ runner.temp }}\jom\jom -j2
cd release
windeployqt --qmldir ${{ github.workspace }}\native\src\ReachVariantTool ReachVariantTool.exe --pdb --release --compiler-runtime
copy C:\Windows\System32\concrt140.dll .
copy C:\Windows\System32\vccorlib140.dll .
copy C:\Windows\System32\msvcp140.dll .
copy C:\Windows\System32\vcruntime140.dll .

- name: Zip build
working-directory: ${{ runner.temp }}
run: |
7z a ReachVariantTool.zip ${{ runner.temp }}\build\* -r

- name: Save build artifact
uses: actions/upload-artifact@master
with:
name: ReachVariantTool.zip
path: ${{ runner.temp }}\ReachVariantTool.zip
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: project-artifact
path: artifact.zip