File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,36 @@ permissions: read-all
12
12
13
13
jobs :
14
14
15
- almalinux-cross-compile :
15
+ linux :
16
+ name : Linux
17
+ runs-on : ubuntu-latest
18
+ container : almalinux:9
19
+ steps :
20
+ - run : |
21
+ dnf -y install \
22
+ cargo \
23
+ rustc
24
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
25
+ - run : cargo build
26
+
27
+ cross-compile :
16
28
name : Cross Compile Test
17
29
runs-on : ubuntu-latest
18
30
container : almalinux:9
19
31
steps :
20
32
- run : |
21
- dnf -y install dnf-plugins-core epel-release
33
+ dnf -y install dnf-plugins-core
22
34
dnf config-manager --set-enable crb
23
35
dnf -y install \
24
36
cargo \
25
- gcc-aarch64-linux-gnu \
37
+ mingw64-gcc \
26
38
rustc
27
39
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
28
- - run : cargo build
40
+ - run : |
41
+ RANLIB=x86_64-w64-mingw32-ranlib \
42
+ AR=x86_64-w64-mingw32-ar \
43
+ CC=x86_64-w64-mingw32-gcc \
44
+ cargo build --target x86_64-pc-windows-gnu
29
45
30
46
windows-msys2-mingw64 :
31
47
name : Windows MSYS2 MINGW64
You can’t perform that action at this time.
0 commit comments