Skip to content

Commit 4b74bdf

Browse files
author
Your Name
committed
platform publish
1 parent 634c5ac commit 4b74bdf

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed

.github/workflows/dev-release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Publish dev platform
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
publish-dev:
13+
runs-on: ubuntu-22.04
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: roc-lang/setup-roc@39c354a6a838a0089eea9068a0414f49b62c5c08
18+
with:
19+
version: nightly
20+
21+
- name: Install dependencies
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install -y m4 brotli
25+
26+
- name: Build platform
27+
run: ROC=roc roc build.roc
28+
29+
- name: Package platform
30+
run: |
31+
tar -C platform -cvf basic-cli-dev.tar .
32+
brotli -f basic-cli-dev.tar
33+
34+
- name: Publish dev release
35+
uses: ncipollo/release-action@v1
36+
with:
37+
tag: dev
38+
name: dev
39+
prerelease: true
40+
allowUpdates: true
41+
replacesArtifacts: true
42+
artifacts: basic-cli-dev.tar.br

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ roc_random = { path = "crates/roc_random" }
4343
roc_sqlite = { path = "crates/roc_sqlite" }
4444
roc_gmp = { path = "crates/roc_gmp" }
4545
rug = "=1.26.0"
46+
gmp-mpfr-sys = { version = "=1.6.8", features = ["force-cross"] }
4647
memchr = "=2.7.4"
4748
hyper = { version = "=1.6.0", default-features = false, features = [
4849
"http1",

crates/roc_gmp/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ version.workspace = true
1111
roc_std.workspace = true
1212
roc_std_heap.workspace = true
1313
rug.workspace = true
14+
gmp-mpfr-sys.workspace = true

0 commit comments

Comments
 (0)