feat(#159): auto load plugin (#169) #716
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: 3- Windows构建测试 | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
create_release: | |
name: Windows构建测试 | |
runs-on: windows-2022 | |
steps: | |
- name: Install Chocolate | |
shell: powershell | |
run: | | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString("https://community.chocolatey.org/install.ps1")) | |
choco feature enable -n=allowGlobalConfirmation | |
# - name: Install Visualcpp-build-tools | |
# shell: powershell | |
# run: choco install visualcpp-build-tools -Y | |
# - name: Install golang | |
# shell: powershell | |
# run: | | |
# choco upgrade chocolatey | |
# choco install make -Y | |
# choco install golang --version 1.17.2 -Y | |
# - name: Build | |
# shell: powershell | |
# run: | | |
# git clone https://github.com/hootrhino/rulex.git | |
# cd rulex | |
# go mod tidy | |
# SET GOOS=windows | |
# go build | |
# go.exe test -timeout 30s -run ^TestFullyRun$ github.com/hootrhino/rulex/test -v -count=1 |