-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
29 lines (29 loc) · 881 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: 'Rustc Codegen Cranelift Toolchain'
description: 'Github Action for https://github.com/bjorn3/rustc_codegen_cranelift'
author: 'finiam'
branding:
icon: anchor
color: gray-dark
runs:
using: "composite"
steps:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
target: wasm32-unknown-unknown
- name: Clone cranelift
uses: actions/checkout@v3
with:
repository: bjorn3/rustc_codegen_cranelift
path: './rustc_codegen_cranelift'
- name: Move cranelift
run: >
mv rustc_codegen_cranelift /tmp/rustc_codegen_cranelift
shell: bash
- uses: Swatinem/rust-cache@v2
- name: Set-Up cranelift
working-directory: '/tmp/rustc_codegen_cranelift'
run: >
./y.rs prepare && ./y.rs build && echo "$(pwd)/dist/" >> $GITHUB_PATH
shell: bash