Skip to content

Commit 42ace8b

Browse files
committed
fixup
1 parent 0b3718d commit 42ace8b

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/workflows/builds.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,36 @@ permissions: read-all
1212

1313
jobs:
1414

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:
1628
name: Cross Compile Test
1729
runs-on: ubuntu-latest
1830
container: almalinux:9
1931
steps:
2032
- run: |
21-
dnf -y install dnf-plugins-core epel-release
33+
dnf -y install dnf-plugins-core
2234
dnf config-manager --set-enable crb
2335
dnf -y install \
2436
cargo \
25-
gcc-aarch64-linux-gnu \
37+
mingw64-gcc \
2638
rustc
2739
- 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
2945
3046
windows-msys2-mingw64:
3147
name: Windows MSYS2 MINGW64

0 commit comments

Comments
 (0)