84
84
85
85
steps :
86
86
- uses : actions/checkout@v2
87
- - uses : actions-rs/toolchain@v1
88
- with :
89
- toolchain : 1.63.0
90
- override : true
91
- components : rustfmt, clippy
92
87
93
88
- name : Configure
94
89
run : |
99
94
pushd package/src/
100
95
./quarto-bld prepare-dist --set-version ${{needs.configure.outputs.version}} --log-level info
101
96
popd
102
-
103
- # https://stackoverflow.com/questions/58526782/how-can-i-create-a-static-executable-with-rustc-using-glibc-instead-of-musl
104
- - name : Build Launcher
105
- run : |
106
- RUSTFLAGS="-C target-feature=+crt-static" cargo build --target x86_64-unknown-linux-gnu --release --manifest-path package/launcher/Cargo.toml
107
- cp package/launcher/target/x86_64-unknown-linux-gnu/release/quarto package/dist/bin/quarto
108
-
97
+
109
98
- name : Make Tarball
110
99
run : |
111
100
pushd package/
@@ -126,12 +115,7 @@ jobs:
126
115
needs : [configure]
127
116
128
117
steps :
129
- - uses : actions/checkout@v2
130
- - uses : actions-rs/toolchain@v1
131
- with :
132
- toolchain : 1.63.0
133
- override : true
134
- components : rustfmt, clippy
118
+ - uses : actions/checkout@v2
135
119
136
120
- name : Configure
137
121
run : |
@@ -143,12 +127,6 @@ jobs:
143
127
./quarto-bld prepare-dist --set-version ${{needs.configure.outputs.version}} --log-level info
144
128
popd
145
129
146
- # https://stackoverflow.com/questions/58526782/how-can-i-create-a-static-executable-with-rustc-using-glibc-instead-of-musl
147
- - name : Build Launcher
148
- run : |
149
- RUSTFLAGS="-C target-feature=+crt-static" cargo build --target x86_64-unknown-linux-gnu --release --manifest-path package/launcher/Cargo.toml
150
- cp package/launcher/target/x86_64-unknown-linux-gnu/release/quarto package/dist/bin/quarto
151
-
152
130
- name : Make Installer
153
131
run : |
154
132
pushd package/src/
@@ -249,12 +227,7 @@ jobs:
249
227
needs : [configure]
250
228
251
229
steps :
252
- - uses : actions/checkout@v2
253
- - uses : actions-rs/toolchain@v1
254
- with :
255
- toolchain : 1.63.0
256
- override : true
257
- components : rustfmt, clippy
230
+ - uses : actions/checkout@v2
258
231
259
232
- name : Configure
260
233
run : |
@@ -284,12 +257,6 @@ jobs:
284
257
./quarto-bld prepare-dist --set-version ${{needs.configure.outputs.version}} --log-level info
285
258
popd
286
259
287
- - name : Build Launcher
288
- run : |
289
- cargo build --release --all-features --manifest-path package/launcher/Cargo.toml
290
- mkdir -p package/dist/bin
291
- cp package/launcher/target/release/quarto package/dist/bin/quarto
292
-
293
260
- name : Make Installer
294
261
run : |
295
262
pushd package/src/
0 commit comments