Updated licensing. #836
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: Win64 | |
on: [push] | |
jobs: | |
################################### | |
# # | |
# FULL BUILDS # | |
# # | |
################################### | |
windows-full-build: | |
runs-on: windows-2019 | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup environment | |
uses: ilammy/msvc-dev-cmd@v1 | |
- name: Install Visual C++ Redistributable 2019 | |
run: | | |
$vc_redist_url = "https://aka.ms/vs/16/release/vc_redist.x64.exe" | |
Invoke-WebRequest -Uri $vc_redist_url -OutFile vc_redist.x64.exe | |
Start-Process vc_redist.x64.exe -ArgumentList "/install", "/quiet", "/norestart" -Wait | |
shell: powershell | |
- name: Install Visual C++ Redistributable 2022 | |
run: | | |
$vc_redist_url_2022 = "https://aka.ms/vs/17/release/vc_redist.x64.exe" | |
Invoke-WebRequest -Uri $vc_redist_url_2022 -OutFile vc_redist_2022.x64.exe | |
Start-Process vc_redist_2022.x64.exe -ArgumentList "/install", "/quiet", "/norestart" -Wait | |
shell: powershell | |
- name: Setup MSYS | |
uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
path-type: inherit | |
- name: Get machine name | |
run: | | |
echo "Machine name: $RUNNER_NAME" | |
- name: Setup environment | |
run: mkdir -p ssh | |
- name: Decode SSH key | |
run: echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 -d > ssh/id_rsa | |
shell: bash | |
- name: Synchronize clock | |
shell: cmd | |
run: | | |
w32tm /config /manualpeerlist:time.windows.com /syncfromflags:manual /reliable:YES /update | |
net stop w32time | |
net start w32time | |
w32tm /resync /rediscover | |
- name: Set permissions on SSH key | |
shell: cmd | |
run: | | |
icacls "ssh\id_rsa" /inheritance:r /grant:r "%USERNAME%:R" | |
- name: Set executable permissions | |
run: | | |
chmod +x ./*.sh ./bin/*.sh ./etc/*.sh ./bin/release/*.sh | |
# - name: Install cmake | |
# run: | | |
# ./etc/install_cmake.sh | |
- name: Build mrv2 | |
env: | |
GITHUB_ACTIONS: true | |
run: | | |
./etc/runme_nolog.sh -v -t package -D TLRENDER_USD=OFF | |
- name: Upload binaries # Conditional step | |
run: | | |
./bin/release/upload_sourceforge.sh |