Update clang-pr.yml #330
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: Windows Compile test | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: "true" | |
- name: Get Complementary file | |
uses: actions/[email protected] | |
with: | |
path: complementary_file | |
repository: UnspaghettifyKart/action-build-private-file | |
ssh-key: ${{ secrets.WINDOWS_SSH_PRIVATE_KEY }} | |
- name: Install dependencies | |
run: | | |
Invoke-WebRequest https://github.com/coco875/mk64-tools/releases/download/v0.0.8/mips-tools-chain-windows.zip -OutFile mips-tools-chain-windows.zip | |
Expand-Archive mips-tools-chain-windows.zip -DestinationPath mips-tools-chain-windows | |
Copy-Item -Path mips-tools-chain-windows/mingw64 -Destination tools -Recurse | |
- name: Build | |
run: | | |
Copy-Item -Path complementary_file/* -Destination . -Recurse | |
echo "${{ secrets.AES_KEY }}" | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in baserom.us.z64.aes -out baserom.us.z64 | |
python tools/windows_build.py |