Merge pull request #142 from yuxianzhi/patch-31 #340
This file contains hidden or 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-x86 | |
on: [push, pull_request] | |
jobs: | |
windows-x86: | |
runs-on: windows-latest | |
steps: | |
- name: cancel-previous-runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: cache-wget | |
id: cache-wget | |
uses: actions/cache@v1 | |
with: | |
path: "wget-install" | |
key: wget-windows-install | |
- name: download wget | |
run: | | |
mkdir software && cd software | |
mkdir wget && cd wget | |
Invoke-WebRequest -Uri https://eternallybored.org/misc/wget/1.21.1/64/wget.exe -OutFile wget.exe > log.txt | |
cd .. | |
cmake -version | |
mingw32-make -version | |
- name: compile x86 on windows | |
run: | | |
export PATH=$PATH:/d/a/bolt/bolt/software/wget | |
cd /d/a/bolt/bolt | |
./install.sh --target=windows-x86_64 | |
shell: bash |