-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 1.08 KB
/
main.yaml
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
30
31
32
33
34
35
36
37
38
39
name: Build & Publish rust emscripten-wasm-eh sysroot
on:
workflow_dispatch:
inputs:
emcc_version:
description: Version of emcc to use
required: true
rust_nightly_date:
description: Rust nightly date
required: true
jobs:
pyodide-packages:
name: Build & Publish rust emscripten-wasm-eh sysroot
runs-on: ubuntu-latest
timeout-minutes: 360
steps:
- name: Checkout
uses: actions/checkout@v4
- name: free up disk space
run: ./free-disk-space.sh
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12.8
- name: Build Rust sysroot
run: |
./main.sh ${{ inputs.emcc_version }} ${{ inputs.rust_nightly_date }}
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: "emcc-{{ inputs.emcc_version }}_nightly-{{ inputs.rust_nightly_date }}.tar.bz2"
tag: emcc-{{ inputs.emcc_version }}_nightly-{{ inputs.rust_nightly_date }}
draft: false
prerelease: false