alpha
Login
or
Join now
nandi.uk
/
gleam
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Fork of daniellemaywood.uk/gleam — Wasm codegen work
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Upgrade cargo action
author
Louis Pilfold
date
2 years ago
(Jan 16, 2025, 6:30 PM UTC)
commit
5061d6e0
5061d6e081398e7d1eee259374f89bdeb89794e0
parent
fff614dd
fff614ddeab876479ca4e90c01838387b8c57278
+25
-25
3 changed files
Expand all
Collapse all
Unified
Split
.github
workflows
ci.yaml
release-nightly.yaml
release.yaml
+11
-11
.github/workflows/ci.yaml
View file
Reviewed
···
41
41
- os: ubuntu-latest
42
42
target: x86_64-unknown-linux-gnu
43
43
binary: x86-64
44
44
-
use-cross: false
44
44
+
cargo-tool: cargo
45
45
run-integration-tests: true
46
46
- os: ubuntu-latest
47
47
target: x86_64-unknown-linux-musl
48
48
binary: x86-64
49
49
-
use-cross: true
49
49
+
cargo-tool: cross
50
50
run-integration-tests: true
51
51
- os: ubuntu-latest
52
52
target: aarch64-unknown-linux-gnu
53
53
binary: aarch64
54
54
-
use-cross: true
54
54
+
cargo-tool: cross
55
55
run-integration-tests: false # Cannot run aarch64 binaries on x86_64
56
56
- os: ubuntu-latest
57
57
target: aarch64-unknown-linux-musl
58
58
binary: aarch64
59
59
-
use-cross: true
59
59
+
cargo-tool: cross
60
60
run-integration-tests: false # Cannot run aarch64 binaries on x86_64
61
61
# macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64
62
62
- os: macos-13 # intel
63
63
target: x86_64-apple-darwin
64
64
binary: x86_64
65
65
-
use-cross: false
65
65
+
cargo-tool: cargo
66
66
run-integration-tests: true
67
67
- os: macos-latest # aarch64
68
68
toolchain: stable
69
69
target: aarch64-apple-darwin
70
70
binary: arm64
71
71
-
use-cross: false
71
71
+
cargo-tool: cargo
72
72
run-integration-tests: true
73
73
- os: windows-latest
74
74
target: x86_64-pc-windows-msvc
75
75
binary: x86-64
76
76
-
use-cross: false
76
76
+
cargo-tool: cargo
77
77
run-integration-tests: true
78
78
steps:
79
79
- name: Checkout repository
···
113
113
key: v1-${{ matrix.target }}
114
114
115
115
- name: Install Gleam
116
116
-
uses: clechasseur/rs-cargo@v2
116
116
+
uses: clechasseur/rs-cargo@v3
117
117
with:
118
118
command: install
119
119
args: "--path compiler-cli --target ${{ matrix.target }} --debug --locked --force"
120
120
-
use-cross: ${{ matrix.use-cross }}
120
120
+
tool: ${{ matrix.cargo-tool }}
121
121
if: ${{ matrix.run-integration-tests }}
122
122
123
123
- name: Verify binary architecture
···
138
138
if: ${{ matrix.run-integration-tests }}
139
139
140
140
- name: Run tests
141
141
-
uses: clechasseur/rs-cargo@v2
141
141
+
uses: clechasseur/rs-cargo@v3
142
142
with:
143
143
command: test
144
144
args: "--workspace --target ${{ matrix.target }}"
145
145
-
use-cross: ${{ matrix.use-cross }}
145
145
+
tool: ${{ matrix.cargo-tool }}
146
146
147
147
- name: test/project_erlang (non-windows)
148
148
run: |
+7
-7
.github/workflows/release-nightly.yaml
View file
Reviewed
···
63
63
- os: ubuntu-latest
64
64
target: x86_64-unknown-linux-musl
65
65
binary: x86-64
66
66
-
use-cross: true
66
66
+
cargo-tool: cross
67
67
- os: ubuntu-latest
68
68
target: aarch64-unknown-linux-musl
69
69
binary: aarch64
70
70
-
use-cross: true
70
70
+
cargo-tool: cross
71
71
# macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64
72
72
- os: macos-13
73
73
target: x86_64-apple-darwin
74
74
binary: x86_64
75
75
-
use-cross: false
75
75
+
cargo-tool: cargo
76
76
- os: macos-latest
77
77
target: aarch64-apple-darwin
78
78
binary: arm64
79
79
-
use-cross: false
79
79
+
cargo-tool: cargo
80
80
- os: windows-latest
81
81
target: x86_64-pc-windows-msvc
82
82
binary: x86-64
83
83
-
use-cross: false
83
83
+
cargo-tool: cargo
84
84
steps:
85
85
- name: Checkout repository
86
86
uses: actions/checkout@v4
···
102
102
key: v1-${{ matrix.target }}
103
103
104
104
- name: Build release binary
105
105
-
uses: clechasseur/rs-cargo@v2
105
105
+
uses: clechasseur/rs-cargo@v3
106
106
with:
107
107
command: build
108
108
args: --release --target ${{ matrix.target }}
109
109
-
use-cross: ${{ matrix.use-cross }}
109
109
+
cargo-tool: ${{ matrix.cargo-tool }}
110
110
111
111
- name: Verify binary architecture
112
112
shell: bash
+7
-7
.github/workflows/release.yaml
View file
Reviewed
···
25
25
- os: ubuntu-latest
26
26
target: x86_64-unknown-linux-musl
27
27
binary: x86-64
28
28
-
use-cross: true
28
28
+
cargo-tool: cross
29
29
- os: ubuntu-latest
30
30
target: aarch64-unknown-linux-musl
31
31
binary: aarch64
32
32
-
use-cross: true
32
32
+
cargo-tool: cross
33
33
# macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64
34
34
- os: macos-13
35
35
target: x86_64-apple-darwin
36
36
binary: x86_64
37
37
-
use-cross: false
37
37
+
cargo-tool: cargo
38
38
- os: macos-latest
39
39
target: aarch64-apple-darwin
40
40
binary: arm64
41
41
-
use-cross: false
41
41
+
cargo-tool: cargo
42
42
- os: windows-latest
43
43
target: x86_64-pc-windows-msvc
44
44
binary: x86-64
45
45
-
use-cross: false
45
45
+
cargo-tool: cargo
46
46
steps:
47
47
- name: Checkout repository
48
48
uses: actions/checkout@v4
···
59
59
key: v1-${{ matrix.target }}
60
60
61
61
- name: Build release binary
62
62
-
uses: clechasseur/rs-cargo@v2
62
62
+
uses: clechasseur/rs-cargo@v3
63
63
with:
64
64
command: build
65
65
args: --release --target ${{ matrix.target }}
66
66
-
use-cross: ${{ matrix.use-cross }}
66
66
+
tool: ${{ matrix.cargo-tool }}
67
67
68
68
- name: Verify binary architecture
69
69
shell: bash