File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build_rust_mos
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ llvm_mos_repo :
6+ description : ' llvm-mos repo'
7+ default : ' mrk-its/llvm-mos'
8+ type : string
9+ llvm_mos_ref :
10+ description : ' llvm-mos ref'
11+ default : ' 13f2838f909ca839ccb4d9a6c808de7b2ea60911'
12+ type : string
13+
14+ jobs :
15+ build_rust_mos :
16+ runs-on : ${{ matrix.os }}
17+ strategy :
18+ matrix :
19+ os : [macos-latest, ubuntu-20.04]
20+ steps :
21+ - name : Fetch the latest Ubuntu llvm-mos release.
22+ if : startsWith(matrix.os, 'ubuntu')
23+ run : |
24+ curl -LO https://github.com/${{ inputs.llvm_mos_repo }}/releases/download/llvm-mos-linux-main/llvm-mos-linux-main.tar.xz
25+ tar -xvf llvm-mos-linux-main.tar.xz
26+ - name : Fetch the latest Windows llvm-mos release.
27+ if : startsWith(matrix.os, 'windows')
28+ run : |
29+ curl -LO https://github.com/${{ inputs.llvm_mos_repo }}/releases/download/llvm-mos-windows-main/llvm-mos-windows-main.7z
30+ 7z x llvm-mos-windows-main.7z
31+ - name : Fetch the latest Mac llvm-mos release.
32+ if : startsWith(matrix.os, 'macos')
33+ run : |
34+ curl -LO https://github.com/${{ inputs.llvm_mos_repo }}/releases/download/llvm-mos-darwin-main/llvm-mos-darwin-main.tar.xz
35+ tar -xvf llvm-mos-darwin-main.tar.xz
You can’t perform that action at this time.
0 commit comments