27
27
name : Test Linux
28
28
runs-on : ubuntu-latest
29
29
container : ghcr.io/plc-lang/rust-llvm:latest
30
- needs : check
31
30
steps :
32
31
- uses : actions/checkout@v3
33
32
@@ -37,10 +36,33 @@ jobs:
37
36
echo "Build command : ./scripts/build.sh --build --test"
38
37
./scripts/build.sh --build --test
39
38
39
+ package-linux :
40
+ name : Package Linux
41
+ runs-on : ubuntu-latest
42
+ container : ghcr.io/plc-lang/rust-llvm:latest
43
+ steps :
44
+ - uses : actions/checkout@v3
45
+
46
+ - name : Release Build
47
+ shell : bash
48
+ run : |
49
+ echo "Build command : ./scripts/build.sh --build --release"
50
+ ./scripts/build.sh --build --release --package \
51
+ --target x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu
52
+
53
+ - uses : actions/upload-artifact@master
54
+ with :
55
+ name : rustyc
56
+ path : target/release/rustyc
57
+
58
+ - uses : actions/upload-artifact@master
59
+ with :
60
+ name : stdlib
61
+ path : output
62
+
40
63
test-windows :
41
64
name : Test Windows
42
65
runs-on : windows-2022
43
- needs : check
44
66
env :
45
67
toolchain-version : 1.70.0
46
68
llvm-version : 14.0.6
@@ -88,29 +110,10 @@ jobs:
88
110
name : rustyc.exe
89
111
path : target/release/rustyc.exe
90
112
91
- package-std :
92
- name : Package std
93
- runs-on : ubuntu-latest
94
- needs : check
95
- container : ghcr.io/plc-lang/rust-llvm:latest
96
- steps :
97
- - uses : actions/checkout@v3
98
- - name : Run Standard libs Build
99
- run : |
100
- ./libs/stdlib/scripts/build.sh --build --package \
101
- --target x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu \
102
- --release
103
-
104
- - uses : actions/upload-artifact@master
105
- with :
106
- name : stdlib
107
- path : output
108
-
109
113
style :
110
114
name : Check Style
111
115
runs-on : ubuntu-latest
112
116
container : ghcr.io/plc-lang/rust-llvm:latest
113
- needs : check
114
117
steps :
115
118
- uses : actions/checkout@v3
116
119
@@ -122,7 +125,6 @@ jobs:
122
125
name : Run Coverage
123
126
runs-on : ubuntu-latest
124
127
container : ghcr.io/plc-lang/rust-llvm:latest
125
- needs : check
126
128
steps :
127
129
- uses : actions/checkout@v3
128
130
0 commit comments